Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

SVG Fundamentals

Public visualization

Viewing a saved revision (read-only)

2eebf7e72e844e74abe83a8e43eda45c

SVG Fundamentals

0 stars0🌍 Public
WWillySmyte
Last edited May 6, 2022
Created on May 6, 2022
Forked from HTML Starter

This example demonstrates three basic SVG shapes—blue, red, and yellow circles—positioned via fixed `cx` and `cy` coordinates inside an `<svg>` element. It shows how SVG’s declarative XML-like markup defines vector graphics directly in HTML, with each circle’s `r` attribute setting its radius and `fill` specifying its color. The code uses no external libraries, relying purely on native SVG elements and inline styling. This serves as a minimal foundation for understanding SVG’s coordinate system and shape attributes, which underpin more complex data visualizations.

AI-generated description

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

See also React Starter. At least it is an idea of a demostration of SVG shapes