🌍 Public
Viewing a saved revision (read-only)
a9c8581830754c3bb6a0ecf5c8906f33
Fork of Rendering Data with React & D3
This example visualizes the CSS named colors dataset as a radial burst, with each color occupying an equal-sized slice of a pie chart. The visualization uses React for component rendering and state management, while D3 v5 utilities like `csv`, `arc`, and `pie` handle data loading and geometric calculations. The `arc` generator with an outer radius equal to the full width creates the pie-shaped paths, which are rendered as SVG elements with fill colors directly from the hex values in the dataset.
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!