Skip to main content
100%

Fork of Rendering Data with React & D3

✓ Published0🌍 Public
Jjerryren527
Last edited Jun 9, 2023
Created on Jun 9, 2023

This example shows a radial burst of CSS named colors, with each color as a slice of a full circle. The visualization loads color data from a CSV file using `d3.csv`, then processes it through `d3.pie` and `d3.arc` to generate SVG path geometry. React manages the component state and renders the paths, mapping each color’s hex value to the fill attribute. The code also includes a commented manual arc calculation as an alternative to `d3.pie`.

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