🌍 Public
Viewing a saved revision (read-only)
28ebf3bac8df4dad8c0de8e27b2d8f8f
Camembert de couleurs D3+React
A colorful pie chart displays all 148 CSS named colors as equal slices, rendered as SVG paths within a React component. The visualization uses D3's `pie` and `arc` functions to compute angles and paths from a CSV dataset of CSS color names and their hex values. Data is loaded asynchronously via D3's `csv` function from a remote gist URL. The React app shows a loading message until the data arrives, then renders the pie chart centered in an SVG canvas.
AI-generated descriptionReact en couleurs.