Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

SVG fundamentals

Public visualization

SVG fundamentals

0 stars0🌍 Public
MMalcolm Barrett
Last edited Mar 26, 2021
Created on Mar 26, 2021
Forked from HTML Starter

This example demonstrates the fundamentals of SVG rendering with a static visualization of two primitive shapes: a firebrick-red circle and a steelblue rectangle. The code uses raw SVG elements (`<svg>`, `<circle>`, `<rect>`) positioned via `cx`, `cy`, `x`, `y`, and sized with `width`, `height`, and `r` attributes. The rendering approach is declarative SVG markup embedded directly in an HTML page, with no external libraries or data sources, relying on the browser’s built-in SVG support to display the shapes.

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