Skip to main content
100%

SVG Fundamentals

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

This example demonstrates fundamental SVG shapes—three circles and a rectangle—arranged on a canvas to show basic positioning, sizing, and styling. The circles use different fill colors, while the rectangle combines a pink fill, navy stroke, and a stroke width of two pixels. The code defines the SVG element directly in HTML with inline CSS setting the width to 800 pixels and height to 500 pixels. No external libraries like D3 are used; instead, it relies purely on native SVG markup and CSS properties.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes