XKCD-style charts with D3
dan.iel.fm
dan.iel.fm
Edit: as pointed out below, the algorithm was lifted from another version done in Python/Matplotlib by Jake Vanderplas: http://jakevdp.github.com/blog/2012/10/07/xkcd-style-plots-i...
http://xkcdsucks.blogspot.com/2009/03/xkcdsucks-is-proud-to-...
D3 tends to be more roll your own.
I would say this is the nicest result I've seen compared to Python, Mathematica, MATLAB.
Thanks also for the great references. In spite of being a big proponent of d3, I somehow missed the "Toward Reusable Charts" piece Mike wrote earlier this year, which succeeds where I have struggled. I've been using the standard prototypal approach to creating reusable and easily configurable charts, which can be cumbersome for the caller. This functional approach with closures is so much cleaner and more reusable. It's the only way I'll make my d3 charts from now on!
Bonus points for using the Tufte 'lie factor' formula.
I don't understand...
ie: plotting the number of bugs fixed over time