Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of React Starter

Public visualization

Viewing a saved revision (read-only)

79e9c2d97d1b4e868a4763dc27c536bb

Fork of React Starter

0 stars0🌍 Public
Mminhhoang.ttmh@gmail.com
Last edited May 16, 2024
Created on May 16, 2024
Forked from 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 description

React Starter code.