Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

SVG Fundamentals

Public visualization

Viewing a saved revision (read-only)

b6957cd93def4525b06275feabc02eec

SVG Fundamentals

0 stars0🌍 Public
Aalexaviz
Last edited May 12, 2022
Created on May 12, 2022
Forked from HTML Starter

This example introduces fundamental SVG shapes—a circle, a filled circle, a stroked rectangle, and a line—drawn directly in an inline SVG element with a fixed 960 by 500 viewport. It shows how SVG attributes like `cx`, `cy`, `r`, `fill`, `stroke`, and `stroke-width` control geometry and styling. The code uses no JavaScript libraries, relying purely on raw SVG markup within an HTML page. It demonstrates the basic building blocks for creating vector graphics in the browser.

AI-generated description

A demostration of SVG shapes.