🌍 Public
Viewing a saved revision (read-only)
5a68b3928fc9464f94e797f08ba08401
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.