Skip to main content
100%

fork

✓ Published0🌍 Public
Aaashrithd4
Last edited Mar 5, 2022
Created on Mar 5, 2022

This example shows a radial burst visualization of CSS named colors, with each color represented as a slice of a pie chart. The visualization loads TV show data as a CSV file using D3’s `csv` utility, then processes it with React’s `useState` and `useEffect` hooks. React renders the SVG elements, while D3’s `pie` and `arc` functions compute the angles and paths for each wedge, filled with the color value from the data. The chart is centered on a 700×500 SVG canvas with no interactive features.

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