D3
OG
Old school D3 from simpler times
All examples
By author
By category
About
dallonf
Full window
Github gist
React can't render SVG under PhantomJS
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> </head> <body> <svg id="svgRoot"> <g id="gElement"> </g> </svg> <script src="https://fb.me/react-0.14.0-rc1.js"></script> <script src="https://fb.me/react-dom-0.14.0-rc1.js"></script> <script type="text/javascript"> var circle = React.createElement("circle", { r: 50, fill: "red", cx: 50, cy: 50, }); ReactDOM.render(circle, document.getElementById("gElement")); </script> </body> </html>
https://fb.me/react-0.14.0-rc1.js
https://fb.me/react-dom-0.14.0-rc1.js