Skip to main content
100%

Fork of Rendering Data with React & D3

✓ Published0🌍 Public
Zzhedzhang
Last edited Sep 30, 2021
Created on Sep 30, 2021

A React and D3 visualization renders CSS named colors as a radial burst of pie slices. Each slice represents one color from a CSV dataset loaded via `d3.csv`, with its fill set to the corresponding `RGB hex value`. The `d3.pie` layout computes arc angles, while `d3.arc` generates SVG path geometry. React manages the component state and renders the `<svg>` elements, including a loading state before the data arrives.

AI-generated description

A program that loads in some data about CSS named colors using D3 utilities, and uses React to render the data as a radial burst!

MIT Licensed

Similar vizzes