D3
OG
Old school D3 from simpler times
All examples
By author
By category
About
gokatz
Full window
Github gist
My Robo Action
Built with
blockbuilder.org
<!DOCTYPE html> <head> <meta charset="utf-8"> <script src="https://d3js.org/d3.v4.min.js"></script> <style> body { margin:0;position:fixed;top:0;right:0;bottom:0;left:0; } #root { background: #eee; } </style> </head> <body> <svg id="root" height="500px" width="500px" viewBox="0 0 512 512" fill="none" stroke="black"> <g> <path d="M5 100 V80 C 7 -5, 167 1, 170 80 V100 C169 112,171 126,155 124 H15 C1.856 120, 6 90,5 100" stroke-width="5" /> <circle cx="50" cy="80" r="20" stroke-width="5" /> <circle cx="120" cy="80" r="20" stroke-width="5" /> </g> </svg> <script> // Feel free to change or delete any of the code you see in this editor! var svg = d3.select("body"); </script> </body>
https://d3js.org/d3.v4.min.js