Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Shapes with SVG and CSS

Public visualization

Shapes with SVG and CSS

0 stars1🌍 Public
Ssimon0863
Last edited Oct 28, 2020
Created on Oct 27, 2020
Forked from React Starter

This example demonstrates how SVG shapes and CSS styling can be combined to create a static composition of circles, rectangles, lines, and a path. The view shows basic geometric primitives arranged in groups, with some shapes using default black fills and others explicitly colored via the `fill` attribute or CSS classes. The code uses React to render an SVG container with a scaling transform, while a CSS class named `.lines` applies stroke properties to the line and path elements, including a rounded line join. The visualization relies on native SVG elements like `<circle>`, `<rect>`, `<line>`, and `<path>`, with no external data source.

AI-generated description

React Starter code.

Comments

Sign in to join the discussion.

MIT Licensed