Skip to main content
100%

Fork of SVG Fundamentals

✓ Published0🌍 Public
EElisa Mendoza
Last edited Aug 28, 2022
Created on Aug 28, 2022
Forked from SVG Fundamentals

This example demonstrates basic SVG shape construction, showing how circles, lines, and paths render in a fixed 960×500 canvas. It includes overlapping red and green circles, a navy diagonal line, a custom curve path, and an open polyline path drawn with a black stroke. The code uses raw SVG elements—`circle`, `line`, and `path`—with inline attributes for coordinates, colors, and stroke widths. A commented rectangle element shows alternative shapes not currently displayed. The SVG is embedded directly in the HTML body with CSS removing page margins and overflow.

AI-generated description

A demonstration of SVG shapes.

MIT Licensed

Similar vizzes