4 ms·
That looks awesome! I'm just learning d3 and I didn't notice d3 can do so many cool stuff.
by hamxiaoz 14y ago
That looks awesome! I'm just learning d3 and I didn't notice d3 can do so many cool stuff.
- oscilloscope 14y agoYou can skip data-binding, the update pattern and SVG for this kind of step-by-step animation. I use Canvas to render these and just a few d3 functions (scales, extents, json). Here's another example to learn from that uses similar techniques to get good performance out of Canvas: http://www.jasondavies.com/maps/transition/ http://www.jasondavies.com/maps/transition/