Loading data with React & D3
✓ Published0🌍 Public
This visualization displays a donut chart of CSS named colors, with each slice representing a single color from a CSV dataset loaded from a GitHub gist. The React component uses the `useState` and `useEffect` hooks to asynchronously fetch the data with D3's `csv` function, then renders an SVG with D3's `pie` and `arc` generators. Each color's hex value fills its corresponding pie slice, creating a full circular spectrum.
AI-generated descriptionLoading data with React & D3
MIT Licensed