Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

SVG Fundamentals

Public visualization

SVG Fundamentals

0 stars0🌍 Public
Aaksgooner
Last edited Sep 23, 2022
Created on Sep 22, 2022
Forked from HTML Starter

This example demonstrates fundamental SVG shapes and styling, showing how a single rectangle can be rendered with a yellow fill, black stroke, and thick stroke width. It also includes CSS-based hover interactions that change the rectangle's fill to red and its stroke to black. The visualization relies on the SVG `<rect>` element embedded directly in an HTML page, with styling handled through both inline attributes and a `<style>` block using CSS transitions. The rendering approach is pure SVG, with no external JavaScript libraries or data sources involved.

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