chart.streamgraph.js
v0.0.2-alpha
Published
A Streamgraph library and plug-in for chart.js
Downloads
11
Readme
Chart.Streamgraph.js
Streamgraph library and plug-in using Chart.js.
This plug-in uses chart.js to enable the creation of Streamgraphs. Invented by Lee Byron and Martin Wattenberg, Streamgraphs are similar to stacked area charts with the exception that data regions do not overlap. Rather, Streamgraph regions are placed on top of one another, creating a shape that highlights the aggregate sum of all data points. While Streamgraphs do not present data with utmost clarity, they can be a cool way to present time-evolving data sets (for example).
Documentation
Documentation is available here.
Installation
Bower
bower install Chart.Streamgraph.js
NPM
npm install chart.streamgraph.js
Github
The built distributions are also available in the dst folder in the source repository at Github.
Usage
For the standalone version, which requires no dependencies:
<script src="dst/Chart.Streamgraph.S.js"></script>
For the plug-in, which requires Chart.js
<script src="Chart.js"></script>
<script src="dst/Chart.Streamgraph.js"></script>