Fork of Rendering Data with React & D3
✓ Published1🌍 Public
This visualization renders the CSS named colors dataset as a radial burst of pie slices. Using React for component rendering and D3’s `pie` and `arc` generators, each color occupies a wedge whose fill matches its hex value. The data loads via `d3.csv` from a gist, while React’s `useState` and `useEffect` manage the asynchronous fetch. SVG paths are generated directly in JSX, with the pie centered on a 960×500 canvas.
AI-generated descriptionA 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