Skip to main content
100%

12-visualizing data with react & d3

✓ Published0🌍 Public
Mmygynt679
Last edited Apr 12, 2023
Created on Apr 12, 2023

This visualization displays a radial burst of the CSS named colors, with each color represented as a slice in a circular layout. It loads color data from a CSV file hosted on GitHub using D3's `d3.csv` utility, then uses React to render the result as SVG paths. The code leverages D3's `d3.arc()` and `d3.pie()` functions to compute the arc paths and pie layout, while React's `useEffect` and `useState` hooks manage data loading and state. The `ReactDOM.render` call outputs the final graphic to the page.

AI-generated description

A program that loads in some data using D3 utilities, and uses React to render the data as a radial burst.

MIT Licensed

Similar vizzes