Color Viz
✓ Published0🌍 Public
This example visualizes the CSS named colors as a vertical stack of horizontal swatches, one per color, ordered as they appear in the source CSV. The React app asynchronously loads the dataset using `d3.csv`, then renders each row as a 20-pixel-tall, 960-pixel-wide `<div>` with a background color set from the `RGB hex value` column. The visualization relies on React’s `useState` and `useEffect` hooks to manage the data-fetching lifecycle, with a “Loading…” fallback presented before the data arrives.
AI-generated descriptionLoads data using React and D3 utilities, Bare minimum for projects
MIT Licensed