Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Rendering Data with React & D3

Public visualization

Viewing a saved revision (read-only)

5e8b877f709f40cba245b977f77cfc7a

Fork of Rendering Data with React & D3

0 stars1🌍 Public
TtrwMK
Last edited Oct 14, 2022
Created on Oct 14, 2022

This visualization displays CSS named colors as a horizontal sequence of colored blocks, each block representing a data row from the CSS named colors dataset. The React app loads the data using `d3.csv` from a remote URL, then maps each row to a `<div>` element with a background color set to the row's `RGB hex value`. The rendering uses React's `useState` and `useEffect` hooks to manage the asynchronous data loading, with a loading message shown before the data arrives.

AI-generated description

A program that loads in some data about CSS named colors using D3 utilities, and uses React to render the data as a radial burst!