🌍 Public
Fork of Rendering Data with React & D3
This visualization displays all CSS named colors as a full-circle pie chart, with each color occupying a wedge based on its position in the dataset. The example integrates React and D3, using React’s `useState` and `useEffect` hooks to load CSV data asynchronously, then rendering SVG paths via the `d3.pie` and `d3.arc` utilities. Each wedge is filled with its corresponding hex value from the CSS named colors dataset, which is fetched from a gist URL.
AI-generated descriptionA program that loads in some data about css named colors using D3 utilities, and uses React to render the data.
MIT Licensed
Comments
Sign in to join the discussion.