🌍 Public
Viewing a saved revision (read-only)
6f0b434d7d1d41498041099384a60f37
Fork of React Starter
This example displays a vertical sequence of thin horizontal color strips, one per row of a CSV file, filling the viewport width. Built with React 18 hooks, it loads the CSV from a GitHub gist URL using the `csv` method from D3, stores the parsed data in state via `useState` and `useEffect`, and renders each row as a styled `div` with a background color taken from the `RGB hex value` field. The app shows a “Loading...” message until the asynchronous fetch completes.
AI-generated descriptionReact Starter code.