Skip to main content
100%

Camembert de couleurs D3+React

✓ Published1🌍 Public
Cclebas
Last edited Apr 6, 2021
Created on Apr 6, 2021

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 description

React en couleurs.

MIT Licensed

Similar vizzes