Fork of Pie Chart React & d3
✓ Published0🌍 Public
This interactive pie chart visualizes a categorical color palette dataset loaded from a CSV file via `d3.csv`. The React component manages the data with `useState` and `useEffect`, rendering an SVG where each slice corresponds to a row, filled with its `RGB hex value`. The chart uses `d3.pie` and `d3.arc` to compute and draw the pie geometry, with a large outer radius creating a striking radial composition. Data loads asynchronously, displaying a "Loading..." message until ready.
AI-generated descriptionA program that loads in some data using d3 utilities, and uses react state to keep track of the data.
MIT Licensed