Skip to main content
100%

Fork of SVG Fundamentals

✓ Published0🌍 Public
Cc1846946
Last edited Apr 26, 2023
Created on Apr 26, 2023
Forked from SVG Fundamentals

This example demonstrates basic SVG shape rendering in a fixed 960×500 canvas, showing overlapping circles in red, green, and blue, a navy line, a filled path, and a stroked polyline path. The code directly uses the SVG API with elements like `<circle>`, `<line>`, and `<path>`, specifying coordinates and styling attributes such as `cx`, `cy`, `r`, `fill`, `stroke`, and `stroke-width`. A commented-out `<rect>` indicates additional shape options. The rendering relies purely on inline SVG markup without external JavaScript libraries or data sources.

AI-generated description

A demonstration of SVG shapes.

MIT Licensed

Similar vizzes