Skip to main content
100%

SVG Fundamentals

✓ Published0🌍 Public
LLuu Nguyen
Last edited Jun 13, 2022
Created on Jun 13, 2022
Forked from HTML Starter

This example demonstrates the foundational building blocks of SVG graphics by rendering a pair of overlapping circles and a rectangular outline on a 960×500 canvas. The visualization shows how geometric primitives—a large unfilled circle, a smaller red-filled circle, and a blue stroked rectangle—can be composed to create simple shapes. It uses raw SVG elements (circle, rect) defined directly in an HTML document, with attributes like cx, cy, r, fill, stroke, and stroke-width controlling position, size, and styling. No external libraries or JavaScript are employed, relying purely on static markup to illustrate SVG's core syntax and rendering within a React-free context.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes