Skip to main content
100%

Fork of Rendering Data with React & D32

✓ Published0🌍 Public
CChavaP06
Last edited Jul 8, 2021
Created on Jul 8, 2021

This example shows a radial burst visualization of CSS named colors, where each color is represented as a wedge-shaped slice of a circle. The visualization loads color data from a CSV file using D3’s `csv` utility, then processes it with `d3.pie` to compute the angles for each slice. React renders these slices as SVG `<path>` elements, using `d3.arc` to generate the path geometry and filling each slice with its corresponding hex color value from the dataset. The result is a colorful, full-circle pie chart that maps all named colors to equal-sized segments.

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