Name: d3node-barchart
Owner: D3-Node
Description: BarChart module using D3-Node
Created: 2017-03-12 04:33:19.0
Updated: 2017-10-14 12:54:51.0
Pushed: 2017-07-03 03:01:22.0
Size: 79
Language: HTML
GitHub Committers
User | Most Recent Commit | # Commits |
---|---|---|
brad oyler | 2017-04-28 20:04:49.0 | 14 |
Xiang Gao | 2017-07-03 03:01:14.0 | 12 |
Other Committers
User | Most Recent Commit | # Commits |
---|
BarChart generator in node.js.
install d3node-barchart
t d3nBar = require('d3node-barchart');
t bar = d3nBar(data, selector, container, style)
Check out the example for usage.
start
Array
Data from file or web processed by d3 library.
String
'#chart'
DOM selector in container.
String
<div id="container"><h2>Bar Chart</h2><div id="chart"></div></div>
DOM contain the visualization result.
String
{fill: steelblue;}
:hover{fill: brown;}
s{font: 10px sans-serif;}
s path,.axis line{fill: none;stroke: #000;shape-rendering: crispEdges;}
xis path{display: none;}
Barchart style.git checkout -b my-new-feature
git commit -am 'Add some feature'
git push origin my-new-feature