shapes using svg
✓ Published2🌍 Public
This example displays a static SVG canvas containing basic geometric shapes: a blue circle, a green rectangle, a black line, and a green path. It demonstrates how to define shapes directly in HTML using SVG elements like `<circle>`, `<rect>`, `<line>`, and `<path>`, with styling applied through an external stylesheet. The visualization uses no JavaScript libraries, relying purely on inline SVG attributes and CSS classes such as `.patth` to set stroke properties, while the root `<svg>` element is sized to 1000 by 1000 pixels.
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