Skip to main content
100%

Rendering Data With React and D3

✓ Published1🌍 Public
CChinedu Ozodi
Last edited Oct 8, 2021
Created on Oct 7, 2021

A donut chart displays all CSS named colors from a CSV dataset, with each color represented as a slice. React manages the component state and renders SVG paths, while D3’s `csv` loads the data and the `pie` and `arc` generators compute the angular and radial geometry. The chart positions itself at the center of a 960×500 viewport, filling each path with the color’s hex value from the data.

AI-generated description

Data about css named colors. Uses React to render the data.

MIT Licensed

Similar vizzes