Skip to main content
100%

Fork of Rendering Data with React & D3

✓ Published0🌍 Public
Ccraig harbottle
Last edited Jul 14, 2023
Created on Jul 14, 2023

This example visualizes all CSS named colors as a radial burst of pie slices using React and D3 v5. Each colored slice corresponds to one color from a CSV dataset loaded via `d3.csv`, with the fill matching the color’s hex value. React components render the SVG paths, while D3’s `pie` and `arc` generators compute the slice geometry. The visualization loads data asynchronously with `useEffect` and shows a "Loading..." state until the CSV arrives.

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!

MIT Licensed

Similar vizzes