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
Sscotti15
Last edited Mar 19, 2020
Created on Mar 19, 2020
Forked from HTML Cars Report

This example showcases basic geometric shapes drawn with SVG and styled using CSS, including circles, rectangles, lines, and a path. The shapes demonstrate grouping and transformation via SVG `<g>` elements, with one group applying translation and fill overrides, while another uses CSS classes for stroke styling. The code uses raw SVG markup within JSX, scaled by a transform, and relies on CSS for stroke properties and line joins. No external libraries are used; it is a pure React rendering of SVG primitives.

AI-generated description

A bare minimum HTML page.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed