Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

intro_svg

Public visualization

intro_svg

0 stars0🌍 Public
VVadivel
Last edited Oct 8, 2022
Created on Oct 8, 2022
Forked from HTML Starter

This example demonstrates basic geometric shapes drawn in an SVG canvas. Three elements are shown: two circles and one rectangle, each with distinct fill colors and one with a stroke. The code uses the raw Scalable Vector Graphics (SVG) API directly, defining shapes via XML-like tags such as `<circle>` and `<rect>`. The first circle uses a default fill, while the others specify explicit `fill` and `stroke` attributes, with a misspelled `stroke-navy` attribute also present. All shapes are positioned using static coordinate attributes, and the canvas is rendered in an HTML document.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed