histogram
JavaScript histogram component for arbitrary data.


Installation
$ component install visionmedia/histogram
API
Histogram()
Initialize a new histogram.
Histogram.add(data:Array, options:Object)
Add data set with options:
colorbar color
Histogram.size(w:Number, h:Number)
Set size to w / h.
Histogram.bins(n:Number)
Set the total number of bins to n.
Histogram.render()
Render the histogram and return a canvas.
License
MIT