🌍 Public
Viewing a saved revision (read-only)
df7e964dbcce4f1db49add6ea6fb9cb4
Shapes with SVG and CSS
This example demonstrates basic shape drawing and grouping within an SVG canvas. It shows a green rectangle and a red circle rendered directly inside an SVG element, with a second copy of both shapes wrapped in a `g` transform group that shifts them downward. The visualization uses raw SVG syntax with inline `fill` attributes, alongside a simple CSS stylesheet that hides document margins and overflow. Notably, the code includes pure SVG elements without any JavaScript libraries, highlighting the visualization’s reliance on native browser rendering.
AI-generated description