Skip to main content
100%

SVG Fundamentals

✓ Published2🌍 Public
WWolfgang
Last edited May 2, 2021
Created on May 2, 2021
Forked from HTML Starter

This example demonstrates fundamental SVG shapes rendered directly in the browser, including a circle, rectangle, line, and path. It shows how to set basic attributes such as position, dimensions, fill colors, strokes, and stroke widths on each element. The code uses the native SVG API with no additional libraries, embedding shapes inside an `<svg>` element with a fixed 960 by 500 viewing area. The static visualization highlights how shapes are layered, as seen in the overlapping circles at the top left.

AI-generated description

A demonstration of SVG shapes.

MIT Licensed

Similar vizzes