Build An Animated Chart In 19 Lines Of Code With d3.js
needforair.com
needforair.com
Check out the logo (try clicking it and dragging the letters) and tutorial at http://tullo.ch/2012/making-the-site-logo/.
Cannot read property '0' of undefined d3.v2.js:5166Also, if you are planning on doing a spring-mass simulation, it's much better to use arbor.js which has background thread support (and is non-blocking)
I used it to build animated line charts but those are a bit more complex (you have to use SVG paths with Bezier curves which are a pain to calculate ...)