🌍 Public
Viewing a saved revision (read-only)
2da526bd1d874b83ac0c9ca1a7259297
Untitled
This example renders a simple static SVG scene containing a path, an inactive polygon with dashed gray styling, and a group of active and tentative shapes including a red circle and dark gray rectangle. The code relies on D3.js version 5.15.0 for element selection and class manipulation via `d3.select` and `.classed`. The SVG is drawn directly in the HTML with inline styling, showing how CSS classes like `.active` and `.tentative` control stroke appearance and opacity.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.