Skip to main content
100%

SVG Fundamentals

✓ Published1🌍 Public
SShikhar Pachori
Last edited Jan 2, 2024
Created on Jan 2, 2024
Forked from HTML Starter

This example demonstrates basic SVG shapes as a static, code-driven visualization. It renders two primitive elements—a circle and a rectangle—directly within an HTML document using the SVG markup language. The circle appears without fill or stroke styling, while the rectangle uses a purple fill with an orange outline via SVG presentation attributes. The code relies on no external libraries or data sources, instead showcasing how SVG’s native `circle` and `rect` elements define geometry and appearance. The example serves as a minimal foundation for understanding vector graphics structure, independent of JavaScript or D3 functionality.

AI-generated description

A demonstration to SVG shapes.

MIT Licensed

Similar vizzes