Shapes with SVG & CSS
This example demonstrates how to create and style basic geometric shapes using SVG elements within a React-based visualization. It shows circles, rectangles, lines, and paths arranged in groups, with CSS classes controlling stroke properties and colors. The code uses raw SVG tags like `<circle>`, `<rect>`, `<line>`, and `<path>`, along with transform attributes for scaling and translation. A linked stylesheet applies visual styling, including stroke width, line joins, and fill colors, while the SVG viewport is set to 960 by 500 pixels.