Skip to main content
100%

SVG Fundamentals

✓ Published0🌍 Public
Wwindwaver
Last edited Apr 22, 2021
Created on Apr 21, 2021
Forked from HTML Starter

This example demonstrates fundamental SVG shapes—circles, rectangles, lines, and paths—rendered directly in an HTML document. It shows how SVG elements create basic visual marks with varying fill and stroke properties, including a filled circle, an outlined circle with a blue stroke, a yellow rectangle with a thick navy border, and a simple polyline path. The code uses plain SVG markup with attributes like `cx`, `cy`, `r`, `x`, `y`, `width`, `height`, and `d` for the path, with no external libraries or data sources. The rendering approach is static inline SVG within a 960×500 viewport.

AI-generated description

A demonstration of SVG shapes.

MIT Licensed

Similar vizzes