Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Camembert de couleurs D3+React

Public visualization

Camembert de couleurs D3+React

0 stars1🌍 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.

Comments

Sign in to join the discussion.

MIT Licensed