Skip to main content
100%

SVG Fundamentals

✓ Published0🌍 Public
Ssinghjy
Last edited Mar 6, 2021
Created on Mar 6, 2021
Forked from HTML Starter

This example demonstrates the fundamental building blocks of SVG by rendering a single geometric shape: a circle with a radius of 50 pixels. The circle is placed at coordinates (50, 50) within a 960-by-500-pixel SVG canvas, showing the basic syntax for positioning and sizing elements. The code uses plain inline SVG markup without additional JavaScript libraries, relying on core attributes like `cx`, `cy`, and `r` to define the circle’s geometry. The empty `<circle>` element highlights how SVG shapes are structured, with no fill or stroke specified, leaving the default black rendering.

AI-generated description
MIT Licensed

Similar vizzes