Skip to content

📊 📈Charting library built on top of D3.js

Notifications You must be signed in to change notification settings

bharadhwaj/fubar-charts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FUBAR CHARTS

A simple, light-weight charting library built on top of d3.js.


INSTALLATION

You can easily install the package from Bower. Make sure that, you already have
bower installed.

bower install fubar-charts

EXAMPLE

Let's see how to draw a simple bar chart using this library.

HTML

<div class="chart-container" id="first-container"> </div>

JavaScript

var element = document.querySelector('.chart-container');

var data = [ ['2014', 50], ['2015', 70], ['2016', 30], ['2017', 40] ];

var chart = new BarChart(element, data);

Output

Basic Bar Chart Example

Live Example

Here is the JSFiddle link for the same.


DOCUMENTATION

  1. Bar Chart
  2. Stacked Bar Chart
  3. Line Chart
  4. Multi Line Chart

About

📊 📈Charting library built on top of D3.js

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 97.7%
  • CSS 2.3%