🌍 Public
Viewing a saved revision (read-only)
868d298e84684417bef709ba7c6f5f57
Fork of Loading Data with React & D3
This work presents a pie chart of CSS named colors, partitioned into equal slices for each color. Built with React and D3, it uses the `d3.csv` function to load color data from a remote gist URL, and the `d3.pie` and `d3.arc` utilities to generate SVG paths. React’s `useState` and `useEffect` manage the asynchronous data loading, displaying "Loading..." until the data arrives.
AI-generated descriptionA program that loads in some data about CSS named colors using D3 utilities, and uses React state to keep track of the data.