🌍 Public
Viewing a saved revision (read-only)
d9c85d6ed17444a4aa5fcff0a7c3a372
test
This example displays CSS named colors as a radial burst of pie slices, each representing one color from a CSV dataset. The visualization uses React hooks to load the data with `d3.csv` and compute the pie layout using `d3.pie`, while `d3.arc` generates the SVG path for each slice. Rendering is handled via React’s `ReactDOM.render`, producing a full-circle arrangement where every color occupies an equal arc segment. The data originates from a remote CSV listing color names and their RGB hex values, which directly set the fill of each path.
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!