Skip to main content
100%

Rendering Data with React

✓ Published0🌍 Public
Vvmonney
Last edited Sep 30, 2022
Created on Sep 28, 2022
Forked from Hello VizHub

A radial burst of CSS named colors, each rendered as a slice of a pie chart, displays the full color palette from a CSV dataset. React components map each data row to an SVG `<path>` element, with React's `useState` and `useEffect` hooks managing the asynchronous loading of the data via D3's `csv` method. The visualization uses `d3.pie` and `d3.arc` to compute the angular and radial geometry, while each slice is filled with its corresponding hex value from the data.

AI-generated description

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

MIT Licensed

Similar vizzes