Rendering Data with data
✓ Published0🌍 Public
A circular sunburst chart renders all named CSS colors as a single pie, with each slice’s fill matching the color it represents. The visualization loads a CSV of color names and hex values via `d3.csv`, then uses `d3.pie` and `d3.arc` to compute the slice geometry. Each path’s fill is set directly from the row’s ‘RGB hex value’ field, while React’s `useState` and `useEffect` manage the asynchronous data loading and component rendering as an SVG.
AI-generated descriptionFirst thing I did using d3 with react...
MIT Licensed