🌍 Public
Viewing a saved revision (read-only)
64ed1756ec53480f97f864d9c321085f
Shapes with SVG and CSS
This example demonstrates basic SVG shapes—circles, rectangles, lines, and a group transform—styled inline and via CSS. It shows how shape attributes like `fill`, `stroke`, `stroke-width`, and `cx`/`cy`/`r` control appearance and position, with a highlighted class defined in styles.css. Rendered directly as SVG within an HTML page, the visualization uses no external libraries, relying solely on native SVG elements and React starter code for structure. The fixed coordinate system and hardcoded attributes illustrate fundamental vector graphics rendering.
AI-generated descriptionReact Starter code.