Skip to main content
100%

SVG Fundamentals

✓ Published0🌍 Public
IIMYin
Last edited Mar 22, 2023
Created on Mar 22, 2023
Forked from HTML Starter

This example demonstrates the foundational rendering of shapes in SVG, using two circles to illustrate basic positioning and styling. The first circle appears in the default black fill, while the second uses an inline `fill="red"` attribute to change its color. The code defines a static SVG canvas with a width of 960 and height of 500, placing circles via `cx` and `cy` coordinates. It relies purely on native SVG elements and CSS-like presentation attributes, without any JavaScript libraries or data binding.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes