Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

CSS Colors with React & D3

Public visualization

Viewing a saved revision (read-only)

9ce2353a057542579c075d2877a44e63

CSS Colors with React & D3

0 stars1🌍 Public
Ddvinubius
Last edited May 22, 2021
Created on May 22, 2021

A pie chart displays the distribution of CSS named colors, with each slice filled using the color’s own RGB hex value. The chart is built with React for component rendering and D3 v5 utilities, including `csv` to load the data, `pie` to compute slice angles, and `arc` to generate SVG path geometry. Rendered as SVG, the visualization loads from a CSV of named colors and updates once the data arrives.

AI-generated description

A program that loads in some data about CSS named colors using D3 utilities, and displays the data with React and D3 in a pie chart.