A couple of statistical graphics, written using Raphael.js.
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README
raphael-viz.js

README

A few statistical graphics, implemented in Raphael.js.  So far,
just a boxplot.  Very hacky, born out of frustration that there is so damn little out there.

Example:

<div id="first">
<script>
	// You still have to calculate the quantiles yourself.  Whatever.
	var data = {
		'bars' : [[  2,   4,   6,   7,   8],
				  [  2,   5, 6.7,   9,  10],
		          [2.2,   6, 7.8,  10,  11],
		          [2.3, 4.5,   6,   7,   8],
		          [  2,   3,   4,   5,   6],
		          [  2, 2.9,   4,   5,   7],
		          [  2,   4, 4.4,   5,   8]],
		'labels' : ['group a', 'group b', 'group c', 'group d', 'group e', 'group f', 'group g'],
		"x-axis" : "Treatments",
		"y-axis" : "pH Levels"
	};
	// The Div id is the first param, the data object the second.
	boxplot("first", data);
</script>
</div>