Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of d3-svg-play-2

Public visualization

Viewing a saved revision (read-only)

ffc82d2a7af24dbdb97438b7ded128df

Fork of d3-svg-play-2

0 stars0🌍 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.