Fork of Fork of Load data with react d3 ark
✓ Published1🌍 Public
This example displays a color wheel made from CSS named colors, arranged as a pie chart that fills the entire SVG canvas. The code uses React hooks (`useState`, `useEffect`) to fetch CSV data from a GitHub gist via `d3.csv`, then renders the visualization using `d3.pie` and `d3.arc` with SVG paths. Each slice’s fill is set to the hex value from the loaded data. The loading state shows a large "Loading..." text while data is being fetched.
AI-generated descriptionMaking a smiley face with React and D3
MIT Licensed