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)

914459766b1344edb9194ec9c4f77cdc

Shapes with SVG and CSS

0 stars1🌍 Public
AAbhijit Roy
Last edited May 13, 2020
Created on May 13, 2020
Forked from HTML Cars Report

This example demonstrates basic SVG shapes rendered with CSS styling, including circles, rectangles, lines, and a path. The shapes are drawn with SVG elements such as `circle`, `rect`, `line`, and `path`, using attributes like `fill`, `stroke`, and `stroke-width`. A `transform` attribute scales the entire group, while nested groups apply translations and inherit styles. The HTML includes an inline SVG with a viewBox of 960 by 500, and the external stylesheet defines classes like `.lines` to apply stroke properties globally. No JavaScript or external data is used.

AI-generated description