Skip to main content
100%

SVG Fundamentals

✓ Published0🌍 Public
CCeciliaW888
Last edited Mar 17, 2023
Created on Mar 16, 2023
Forked from HTML Starter

This example demonstrates core SVG shapes—a red circle, a blue outlined rectangle, and an empty line—drawn on a 400-by-400 canvas using plain SVG markup. It shows how basic geometric elements are positioned via `cx`, `cy`, `r`, `x`, `y`, `width`, `height`, and `stroke` attributes, with `fill` and `stroke` controlling appearance. The code runs directly in an HTML page without any JavaScript libraries, relying only on native SVG rendering in the browser. It serves as a minimal introduction to SVG fundamentals for static visualization construction.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes