3 ms·
Yeah I thought it was about performance also. One thing I've never gotten around to was really look at the d3 code and see how renderings are done. Does D3 re-r
by daemonk 13y ago
Yeah I thought it was about performance also. One thing I've never gotten around to was really look at the d3 code and see how renderings are done. Does D3 re-render on every property change? Or does it save all the changes and render once at the end.
- Zecc 13y agoA quick glance at D3's source code confirms what I suspected: all it does is call setAttributeNS on the DOM. So the re-rendering isn't really its concern, but the browser's. As for performance, I believe the focus is on the user's performance, not the computer's.