SVG fundamentals
✓ Published0🌍 Public
This example demonstrates fundamental SVG shapes—a circle, a rectangle, a line, and a path—rendered within an 800 by 450 canvas. CSS styles define interactive transitions, changing the rectangle’s fill and stroke on hover over three seconds. The page also loads D3 via UNPKG, imports the `select` function, and uses it to set text content, alongside local ES6 module imports for a message.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed