Skip to main content
100%

SVG Fundamentals

✓ Published1🌍 Public
NNikki Masroor
Last edited May 17, 2022
Created on May 17, 2022
Forked from HTML Starter

This example demonstrates fundamental SVG shapes by rendering a circle, a red-filled circle, a rectangle outline, and a pink line inside a fixed 960×500 viewport. The code uses raw SVG elements—`circle`, `rect`, and `line`—with inline attributes for coordinates, dimensions, and stroke properties. The rectangle is drawn with a blue stroke and no fill, while the line spans from the origin to (100,100). No external libraries or data sources are involved; the visualization relies solely on native SVG markup within an HTML document.

AI-generated description

A demonstraion of SVG

MIT Licensed

Similar vizzes