Shapes with SVG
✓ Published1🌍 Public
This example demonstrates basic SVG shape creation and grouping within a static web page. It shows circles, rectangles, a line, and a path rendered directly in the markup, with CSS styling for stroke, fill, and line joins. The code uses standard SVG elements like `<circle>`, `<rect>`, `<line>`, and `<path>`, along with the `<g>` grouping element and transform translations. No external libraries are loaded; all shapes are hand-coded in `index.html` and styled through `styles.css`, making it a pure SVG demonstration without D3 or additional JavaScript APIs.
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