Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

SVG fundamentals

Public visualization

SVG fundamentals

0 stars0🌍 Public
SStuartSutherland
Last edited Jan 4, 2023
Created on Jan 4, 2023
Forked from HTML Starter

This example demonstrates basic SVG shapes rendered directly in an HTML page, using the `circle` and `rect` elements to display geometric primitives with simple fill and stroke styling. The visualization shows a red circle and a yellow rectangle with a navy border, positioned within a 960 by 500 pixel viewport. The code relies on native SVG markup without external libraries or JavaScript, making it a minimal introduction to vector graphics. The CSS properties are applied inline through attributes such as `fill`, `stroke`, and `stroke-width`, illustrating how SVG handles coordinate-based drawing in the browser.

AI-generated description

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

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed