🌍 Public
Viewing a saved revision (read-only)
d0372e9320f345878b78d337fd17bf7b
Shapes With SVG
This example demonstrates how to draw and group basic shapes using only SVG, with no external libraries or data. It shows circles and rectangles in different positions and sizes, some with individual colors and others grouped inside a `<g>` element that applies a shared blue fill and a translation transform. The code defines shapes directly in a static SVG canvas using standard elements such as `<circle>` and `<rect>`, with styling from a linked stylesheet that sets page margins and hides overflow.
AI-generated descriptionAn example showing the capabilities of VizHub.