Skip to main content
100%

SVG Fundamentals

✓ Published0🌍 Public
Bbhargav83
Last edited Jan 31, 2023
Created on Jan 30, 2023
Forked from D3.js Tutorial

This example demonstrates fundamental SVG shapes and styling within a React-based HTML page. It shows how circles, rectangles, lines, and paths are rendered with SVG attributes, including fill colors, stroke widths, and hover transitions. CSS rules apply a red fill with a black stroke to rectangles, and a hover effect transitions the fill to orange while expanding the stroke width over 2000ms. The visualization uses inline SVG markup directly in the HTML, with no external data source, showcasing basic vector graphics techniques.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes