Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of HTML Starter - shapes w/ svg

Public visualization

Viewing a saved revision (read-only)

1f016fc0f74f47f98a96306ddbc6ee42

Fork of HTML Starter - shapes w/ svg

0 stars0🌍 Public
KKwong-Yuankit
Last edited Oct 31, 2022
Created on Oct 31, 2022
Forked from HTML Starter

This example demonstrates how to compose basic geometric shapes—circles, rectangles, lines, and paths—inside an SVG canvas. It shows how styling attributes like fill, stroke, and stroke-width apply directly to elements, and how groups (`<g>`) organize shapes with shared transformations and styles. The visualization is built with plain HTML and CSS, using raw SVG syntax without any JavaScript libraries. The SVG viewport is scaled via a transform, and a CSS class controls the appearance of line and path elements.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.