Skip to main content
100%

Fork of d3-svg-play-2

✓ Published0🌍 Public
JJP Adams
Last edited Aug 11, 2022
Created on Aug 11, 2022
Forked from d3-svg-play-1

This example uses React to render a static SVG scene composed of basic geometric shapes, including circles, a rectangle, lines, and a custom path. The SVG elements are defined directly in JSX-like markup within the `index.html` file, with CSS transitions applied to circles inside a `<g>` group, causing them to smoothly change fill color on hover. The visualization demonstrates the interplay between SVG primitives, CSS styling, and interactive hover effects, rendered at a fixed 960 by 700 pixel viewport.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes