🌍 Public
Viewing a saved revision (read-only)
244abf3b3a694237b80c3ea629a020a4
color_graph
This example displays all named CSS colors as a radial pie chart, with each wedge filled by its corresponding RGB hex value. The visualization loads color data from a CSV file via `d3.csv` and uses React state to manage the data. The chart is rendered as an SVG using D3’s `pie()` layout and `arc()` generator, with the outer radius set to the full width of the viewport. Each slice is drawn as a path with its fill directly from the data’s hex column, creating a vibrant, full-circle spectrum of color names.
AI-generated descriptionCSS color gradient pie chart created with the React and D3