Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

SVG Fundamentals

Public visualization

SVG Fundamentals

0 stars0🌍 Public
SShivayan Bora
Last edited Jun 7, 2024
Created on Jun 7, 2024
Forked from HTML Starter

Three SVG circles and one rectangle demonstrate basic shape primitives on a fixed 1000px canvas. The circles use default black fill, an explicit red fill, and a green fill with varying radii, while the rectangle combines gray fill, a blue stroke, and a 10px stroke-width. Rendered directly via the `<svg>` element, the example uses no external libraries, relying instead on the browser’s native scalable vector graphics support. The code illustrates how shape attributes like `cx`, `cy`, `r`, `x`, `y`, `width`, `height`, and `stroke` control geometry and styling.

AI-generated description

A demonstration of SVG Shapes.

Comments

Sign in to join the discussion.

MIT Licensed