Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

SVG Fundamentals

Public visualization

Viewing a saved revision (read-only)

a2c6f98477b644faaeb58e18313ee7e8

SVG Fundamentals

0 stars0🌍 Public
MMarko Sanković
Last edited Jun 23, 2022
Created on Jun 23, 2022
Forked from HTML Starter

This example demonstrates fundamental SVG shapes as rendered directly in a web browser. It shows two overlapping circles with contrasting fill and stroke colors, a blue diagonal line, and a black polyline path composed of two line segments. The visualization uses the SVG API within an inline `<svg>` element, specifying geometric attributes such as `cx`, `cy`, `r`, `x1`, `y1`, and path data. The code defines a 960 by 500 pixel canvas, with shapes positioned absolutely and styled through stroke-width and fill properties, requiring no external libraries.

AI-generated description

A demonstration of SVG shapes.