Skip to main content
100%

Rendering Data with React

✓ Published1🌍 Public
TTaweewat Somboonpanyakul
Last edited May 24, 2021
Created on May 24, 2021
Forked from Mouse Follower

The example displays the full CSS named color palette as horizontal stripes, with each color rendered as a 960-pixel-wide, 5-pixel-tall div. It loads color data from a CSV file using `d3.csv` inside a React component, managing asynchronous data with `useState` and `useEffect`. React renders the list of colored divs, with the background color set from the `RGB hex value` column.

AI-generated description

Load data about named colors with React and D3

MIT Licensed

Similar vizzes