Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Learning SVG Fundamentals

Public visualization

Learning SVG Fundamentals

0 stars1🌍 Public
CColin Frutschi
Last edited May 8, 2023
Created on May 3, 2023
Forked from HTML Starter

This example demonstrates fundamental SVG shapes by placing colored circles, a rectangle, and a diagonal line on a 960×500 canvas. The code uses raw SVG markup with inline attributes for positioning and styling, including `cx`, `cy`, `r`, `fill`, `stroke`, `x`, `y`, `width`, and `height`. A navy-stroked circle overlaid on a red-filled circle illustrates how stroke and fill interact, while the rectangle and line show coordinate-based geometry. The rendering relies entirely on native SVG elements without JavaScript libraries or external data.

AI-generated description

Description can be added here

Comments

Sign in to join the discussion.

MIT Licensed