🌍 Public
Viewing a saved revision (read-only)
2facf1f18c1f45f78072895ee710da16
Fork of Rendering CSS Named Colors - Arc (Using pie)
This example visualizes all 148 CSS named colors as a pie chart, with each slice filled using its corresponding RGB hex value from a CSV dataset provided by MDN. The React application loads the data via d3.csv, then uses d3.pie to compute the arc segments and d3.arc to generate the SVG path geometries for each slice. The resulting chart is rendered as an SVG within a 960×500 canvas, centered on the display.
AI-generated descriptionRendering CSS named colors from MDN.