eigenhombre / i3d3

D3-based plotting and histogramming library
25 stars 5 forks source link

i3d3

D3-based histogramming and plotting library (for use in IceCube and other projects). This is a work in progress.

Requirements:

  1. D3
  2. Underscore.js

Examples

The following examples were all created from this HTML:

Example output

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.

Background

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):

DONE

Not done, in order of priority

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.

Use with the Bower package manager

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

References

http://stackoverflow.com/questions/6766547/javascript-graphing-library

http://www.amazon.com/Interactive-Data-Visualization-Scott-Murray/dp/1449339735/ref=pd_sim_b_1

Author

John Jacobsen