Shapes with SVG and CSS
This example shows how SVG shapes—circles, rectangles, lines, and paths—can be directly styled and grouped using inline attributes and CSS classes. The code uses raw SVG elements within an HTML page, applying fill colors, strokes, and transforms like `scale` and `translate` via React’s rendering capabilities. CSS rules in `styles.css` control stroke width, color, and line joins for grouped elements, demonstrating how presentation can be separated from structure. The visualization relies purely on static markup, with no JavaScript or data-driven logic beyond the SVG’s native coordinate system.