Fork of Rendering Data with React & D3
✓ Published0🌍 Public
This example visualizes CSS named colors as a full-screen radial burst, with each color occupying an equal-width slice around a central point. It uses React hooks (`useState`, `useEffect`) to asynchronously load the CSV dataset via D3’s `csv` utility, then renders SVG `<path>` elements computed with `d3.pie()` and `d3.arc()`. The fill for each slice directly maps to the color’s hexadecimal value from the data, while a simple loading state shows before data arrives.
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