Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Rendering Data with React & D3

Public visualization

Viewing a saved revision (read-only)

37bf517c00e64add9b35abfb5ec470ad

Fork of Rendering Data with React & D3

0 stars0🌍 Public
YYedrup
Last edited Jan 27, 2021
Created on Jan 27, 2021

A radial burst of CSS named colors rendered as colored arcs around a central point, with each slice representing one color from a CSV dataset loaded via D3's `csv` utility. The example integrates D3's `pie` and `arc` generators with React's `useState` and `useEffect` hooks, mapping data to SVG paths filled with each color's hex value. The application displays a loading message until the dataset arrives, then renders all slices in a full circle using React's declarative JSX structure.

AI-generated description

A program that loads in some data about CSS named colors using D3 utilities, and uses React to render the data as a radial burst!