linepath
✓ Published0🌍 Public
This example displays a single static black line drawn diagonally across an SVG canvas using the d3.line() path generator and a d3.select() selection. The code defines a path element with a series of two coordinate pairs, renders it with no fill and a black stroke, and sets the SVG dimensions to match the browser window. An animated spirograph remains commented out.
AI-generated descriptionMy fisrt viz with javascript
MIT Licensed