Continuing with the series of examples I’ve provided while using d3.js, this one is a javascript object which renders data as a line graph which can then be interacted with by scrubbing over it or changing the y-axis scale.
Click on the image or the bl.ocks.org link to see it in action.
Code: https://gist.github.com/2657838 http://bl.ocks.org/2657838
Filed under: Code, User Interface

I think this has the answer to the ‘ugly hack’ http://bost.ocks.org/mike/path/. You may have seen it already. Cheers for posting the example though – some nice formatting, style etc to borrow as I’m in the middle of having my engineer’s mind blown by d3.