Fork of load data
✓ Published1🌍 Public
This visualization displays a color wheel constructed from a CSV dataset of named CSS colors, with each color represented as a slice of a pie chart. The code uses React hooks (useState and useEffect) to asynchronously load data via d3.csv, then maps it into arcs using d3.pie and d3.arc. The computed SVG paths are rendered inside React’s virtual DOM, with a d3 pie generator assigning equal value to each row. The chart initially shows a "Loading..." message until the external dataset arrives.
AI-generated descriptionA program that uses react and d3 to visulize the data
MIT Licensed