fork
✓ Published0🌍 Public
This example shows a radial burst visualization of CSS named colors, with each color represented as a slice of a pie chart. The visualization loads TV show data as a CSV file using D3’s `csv` utility, then processes it with React’s `useState` and `useEffect` hooks. React renders the SVG elements, while D3’s `pie` and `arc` functions compute the angles and paths for each wedge, filled with the color value from the data. The chart is centered on a 700×500 SVG canvas with no interactive features.
AI-generated descriptionA program that loads in some data about CSS named colors using D3 utilities, and uses React to render the data as a radial burst!
MIT Licensed