SVG Fundamentals
✓ Published0🌍 Public
This example demonstrates a single red circle, the most basic SVG shape, using the raw SVG element from the HTML5 specification. It shows how a circle is defined by its center coordinates (`cx`, `cy`) and radius (`r`), rendered directly within an inline `<svg>` tag in the body of an HTML page. The code uses no external libraries, relying purely on native SVG markup and the browser's built-in rendering engine. The visualization serves as a minimal, low-level introduction to vector graphics, highlighting the direct relationship between an element's attributes and its on-screen appearance.
AI-generated descriptionA demostration of SVG shapes.
MIT Licensed