Skip to main content
100%

Fork of Loading Data with React & D3

✓ Published1🌍 Public
Uumgi
Last edited Feb 28, 2021
Created on Feb 28, 2021

This visualization displays a pie chart of CSS named colors, rendered as an SVG. It loads color data from a CSV file using `d3.csv` and manages the asynchronous loading state with React's `useState` and `useEffect` hooks. The chart is drawn using `d3.pie` and `d3.arc` to compute path geometries, with each slice filled by the color's hex value from the dataset.

AI-generated description

A program that loads in some data about CSS named colors using D3 utilities, and uses React state to keep track of the data.

MIT Licensed

Similar vizzes