Skip to main content
100%

Fork of Rendering Data with React & D3

✓ Published0🌍 Public
BBjoernujjwb
Last edited Jan 6, 2023
Created on Jan 6, 2023

This radial burst visualization displays all CSS named colors as equal-sized slices arranged in a circle. The code loads color data from a CSV file using D3’s `csv` utility, then uses React with `useState` and `useEffect` to manage the asynchronous data fetch and rendering. D3’s `pie` and `arc` functions compute the pie geometry, while each slice is drawn as an SVG `path` with its fill color set directly from the data’s RGB hex values.

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