Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Rendering Data with React

Public visualization

Viewing a saved revision (read-only)

938dbbe5d8494a9da45faf321e8738e9

Rendering Data with React

0 stars1🌍 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