Skip to main content
100%

Fork of Rendering Data with React & D3

✓ Published0🌍 Public
Iillyyo
Last edited Feb 9, 2022
Created on Feb 9, 2022

This example shows the CSS named colors dataset rendered as a radial burst of colored arcs, with each arc representing a color from the file loaded via D3’s `csv` utility. React manages the component state and renders an SVG, while D3’s `arc` and `pie` generators compute the path geometry for each sector. The visualization fills the screen with a vibrant full-circle pie chart, centered on a 960×500 viewport. The code demonstrates a clean separation where React handles the DOM updates and D3 handles the data-driven shape calculations.

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