Skip to main content
100%

Fork of Fork of Loading Data with React_DL

✓ Published0🌍 Public
Ddavidelowe
Last edited Mar 18, 2021
Created on Mar 18, 2021

A React application loads a CSV of CSS named colors from a GitHub gist using D3’s `csv` utility, then renders each color as a semicircular SVG path with `d3.arc`. The component uses React state and hooks (`useState`, `useEffect`) to display a loading message until the data arrives. Once loaded, the color swatches form a large fan-like shape, with fill colors taken directly from the hex values in the dataset.

AI-generated description

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

MIT Licensed

Similar vizzes