Skip to main content
100%

SVG Fundamentals

✓ Published0🌍 Public
HHenry Tochukwu Uzor
Last edited Nov 14, 2023
Created on Nov 14, 2023
Forked from HTML Starter

This example demonstrates basic SVG shapes directly in HTML, showing how circles, rectangles, and lines render with stroke, fill, and thickness properties. A red-outlined circle appears next to a filled red circle with a black border, while a blue-bordered white rectangle and a thin diagonal line complete the composition. The visualization uses raw SVG elements within a 500x500 canvas, relying on the browser’s built-in SVG rendering API rather than a JavaScript library like D3. The shapes are static, with no data binding or interaction, serving purely as a primer for SVG’s coordinate system and attribute syntax.

AI-generated description

A demonstration of SVG shapes.

MIT Licensed

Similar vizzes