Skip to main content
100%

SVG Fundamentals

✓ Published0🌍 Public
DDuckGorilla
Last edited Jan 12, 2022
Created on Jan 12, 2022
Forked from HTML Starter

This example demonstrates the fundamental building blocks of SVG graphics by rendering a single circle shape. The code uses the native SVG `<circle>` element with explicit `cx`, `cy`, and `r` attributes to position and size the circle at coordinates (50, 50) with a radius of 50. Rendered directly in an HTML document without JavaScript libraries, it highlights how SVG’s declarative XML syntax defines vector shapes in the browser. The minimalist approach serves as a baseline for understanding how D3.js and other tools later manipulate similar SVG primitives.

AI-generated description

A demonstration of SVG shapes.

MIT Licensed

Similar vizzes