Skip to main content
100%

SVG Fundamentals

✓ Published0🌍 Public
TThegreatest1123
Last edited Jan 23, 2023
Created on Jan 23, 2023
Forked from HTML Starter

This example demonstrates the fundamental building blocks of SVG by rendering a single red circle on a blank canvas. It shows how basic shape elements, such as `<circle>`, are positioned using `cx` and `cy` coordinates and styled with the `fill` attribute. The code uses raw SVG within an HTML page, setting a fixed viewport of 960 by 500 pixels. The rendering approach is straightforward declarative markup, with no JavaScript or external libraries involved.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes