Skip to main content
100%

SVG Fundamentals

✓ Published156🌍 Public
CCurran Kelleher
Last edited Aug 25, 2021
Created on Mar 6, 2021
Forked from HTML Starter

This example demonstrates fundamental SVG shapes, including circles, lines, and paths, rendered in a static 960x500 viewport. The code uses raw SVG elements such as `<circle>`, `<line>`, and `<path>` to show overlapping circles, a stroke-only polyline, and a custom curved segment, with attributes like `cx`, `r`, `fill`, and `stroke-width` controlling geometry and styling. Several elements are commented out, including a rectangle, highlighting how SVG markup is manipulated directly in the HTML file without any additional JavaScript libraries or data sources.

AI-generated description

A demonstration of SVG shapes.

MIT Licensed

Similar vizzes