Skip to main content
100%

Fork of Rendering Data with React & D3

✓ Published0🌍 Public
Nnatsgeorge.ng@gmail.com
Last edited Jul 2, 2024
Created on Jul 2, 2024

This example visualizes CSS named colors as a radial burst, with each color occupying a wedge of a circular pie chart. The visualization loads color data from a CSV file using `d3.csv`, computes the arc segments with `d3.pie` and `d3.arc`, and renders the resulting SVG paths through React components. The React app manages the loading state and passes the data to SVG elements, while D3 handles the data parsing and geometric calculations. The final output displays 148 colored slices radiating from the center, using each color’s RGB hex value as its fill.

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