Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Loading Data with React_DL

Public visualization

Viewing a saved revision (read-only)

4364b0ed10e04398bd5fd566d13f2ceb

Fork of Fork of Loading Data with React_DL

0 stars0🌍 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.