D3-based histogramming and plotting library (for use in IceCube and other projects). This is a work in progress.
The following examples were all created from this HTML:
The HTML is pretty self-explanatory and serves as API documentation for the time being :-).
NOTE: you must use or adapt the styling rules in
style.css
or your graphs will look hideously ugly.
Again, example.html
shows one way to do it.
We looked around at quite a few JavaScript plotting libraries which might meet our requirements, which are (watch this space for updated status as the project progresses):
None of the canned plotting / graphing packages we looked at were quite what we wanted; D3.js does not provide these directly but is sufficiently powerful, flexible and fast to provide a foundation to allow us to implement these ourselves.
You can use Bower to pull down i3d3's dependencies. Just run bower install
.
To update Bower with a new version, first update bower.json
, then:
git tag <version>
git push --tags
http://stackoverflow.com/questions/6766547/javascript-graphing-library
http://www.amazon.com/Interactive-Data-Visualization-Scott-Murray/dp/1449339735/ref=pd_sim_b_1