Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Rendering CSS Colors Data with React & D3

Public visualization

Fork of Rendering CSS Colors Data with React & D3

0 stars2🌍 Public
PPaul B
Last edited Sep 2, 2021
Created on Aug 30, 2021

This visualization displays the full set of named CSS colors as a circular pie chart, with each slice filled by its corresponding color. The data loads from a CSV file via `d3.csv`, and React manages the component state with `useState` and `useEffect`. The chart is rendered using React elements for SVG paths, while `d3.pie` computes the arc angles and `d3.arc` generates the path geometries.

AI-generated description

A program that loads in some data: CSS Colors using D3 utilities, and uses React tto Render the data as a radial burst.

Comments

Sign in to join the discussion.

MIT Licensed