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 stars2🌍 Public
Ppkcesar
Last edited Mar 26, 2020
Created on Mar 26, 2020
Forked from HTML Cars Report

This example demonstrates basic geometric shapes rendered as SVG elements, including circles, rectangles, lines, and paths, with styling applied through CSS. The visualization uses SVG's native `circle`, `rect`, `line`, and `path` tags within a `<g>` group, leveraging the `transform` attribute for scaling and translation. The CSS stylesheet applies stroke properties to a `.lines` class, setting the line color, width, and path join style, while the SVG `fill` and `stroke` attributes control shape colors directly.

AI-generated description

A bare minimum HTML page.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed