🌍 Public
Viewing a saved revision (read-only)
3ed99c03077c45eeb3f4f396bd6c38d1
linepath
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 description