3 ms·
FYI SVG charts have been around for a while and there are many libraries that use them: https://blog.logrocket.com/comparing-most-popular-javascript-charting-li
by solardev 3y ago
FYI SVG charts have been around for a while and there are many libraries that use them: https://blog.logrocket.com/comparing-most-popular-javascript-charting-libraries/ https://blog.logrocket.com/comparing-most-popular-javascript...
Depending on your use cases and complexity though, sometimes it's better to render to canvas instead (usually for performance reasons). JS and WASM are way more optimized than SVG is, so sometimes it's better to do the heavy calcs and then render raw pixels, instead of relying on SVG geometries.
- pseudosavant 3y agoThis is making me think about doing performance tests between HTML JS and SVG JS