XKCD-style plots in Javascript using D3

Inspired by this blog post and Mike Bostock's comment on this HN thread, I decided to make an XKCD-style plot in Javascript using D3 with a custom interpolation function. I also tried to use the "reusable chart" paradigm.

You should really check out the source.

Here's an example...