Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Shapes with SVG and CSS

Public visualization

Viewing a saved revision (read-only)

3d04666428784ad6977f776121668e22

Shapes with SVG and CSS

0 stars0🌍 Public
TTravy Trav
Last edited Feb 11, 2020
Created on Feb 11, 2020
Forked from HTML Cars Report

This example demonstrates basic SVG shapes rendered through React, showcasing circles, rectangles, lines, and paths with varied fill, stroke, and grouping. The code uses raw SVG elements and CSS classes, such as `.lines` and `.lines path`, to apply styling like stroke width and line joins. A CSS rule sets the body margin to zero and hides overflow, while the SVG is scaled with a transform. The example highlights how SVG structure and external CSS work together to control visual properties without additional libraries.

AI-generated description

A bare minimum HTML page.

See also React Starter.