Skip to main content
100%

Fork of Rendering Data with React & D3 Again

✓ Published1🌍 Public
Tthomasjungcoe
Last edited Mar 12, 2021
Created on Mar 11, 2021

This visualization displays all CSS named colors as a circular pie chart where each color occupies an equal slice. The application loads color data from a CSV file using `d3.csv`, then uses React's `useState` and `useEffect` hooks to manage the asynchronous data fetching and rendering. The chart is constructed with `d3.pie` and `d3.arc`, generating SVG paths filled with each color's corresponding hex value, centered within a 960 by 500 viewport.

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