Skip to main content
100%

Visualizing Data with React & D3

✓ Published0🌍 Public
NNikhil Reddy Manda
Last edited May 12, 2021
Created on May 12, 2021

A full-screen color wheel displays every named CSS color as a single pie slice, with each path filled by its corresponding hexadecimal value from an MDN dataset loaded via `d3.csv`. Built with React hooks (`useState`, `useEffect`) and D3 v5, the visualization uses `d3.pie()` to compute angles and `d3.arc()` for the radial geometry. All slices share equal values, so the wheel’s proportions directly reflect the dataset’s composition. The SVG renders seamlessly within React’s declarative component structure.

AI-generated description

Visualizing Data with React & D3

Data From MDN

MIT Licensed

Similar vizzes