3 ms·
I don't recall if d3 uses SVG or canvas off the top of my head, I haven't done much more than toy with it. If it uses SVG, then yes, this could speed up d3 grea
by snuxoll 11y ago
I don't recall if d3 uses SVG or canvas off the top of my head, I haven't done much more than toy with it. If it uses SVG, then yes, this could speed up d3 greatly.
- aurbano 11y agoIt uses SVG, so it will speed it up a lot. Unfortunately for things like a force layout in a graph, the main bottleneck will be JavaScript calculating the positions.
- pcwalton 11y agoWebRender doesn't accelerate SVG. It's certainly a potential future area to work on, though.
- snuxoll 11y agoYou're right, it doesn't at the moment. But the whole point behind WebRender is vector graphics are much better suited to GPU rendering - there's no reason SVG couldn't be targeted eventually. EDIT: Realizing you are Patrick himself, of course you know this...