🌍 Public
Viewing a saved revision (read-only)
e6955ddc7c61444cb7e4d2f5ca34555d
PieChar
This example shows a radial burst of colored arcs, one for each CSS named color, arranged around a central point. The visualization uses React to render SVG paths, with D3's `pie` function computing the arc angles and the `arc` function generating the path geometry. Each slice is filled with its corresponding color from the CSS named colors dataset, which is loaded asynchronously via D3's `csv` utility. The code demonstrates how D3 can be used for data loading and geometry calculation while React handles the rendering logic.
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!