2 ms·
SVG is just xml. You can use any xml generation library to make them, which many languages have. Or not use any at all and just echo/print the xml out. It seems
by justinph 12y ago
SVG is just xml. You can use any xml generation library to make them, which many languages have. Or not use any at all and just echo/print the xml out. It seems like extreme overkill to fire up phantom js to generate some xml.
The things that libraries like d3, react, etc provide are transitions / tweening / animation, usually bound to datasets. Generating SVG on the server is a neat, but it does nothing to solve the animation and data binding issue.