Skip to main content
100%

Fork of Fork of Rendering Data with React & D3

✓ Published0🌍 Public
Ssumakokima2
Last edited Jun 10, 2021
Created on Jun 10, 2021

This visualization displays CSS named colors as a vertical sequence of colored rectangles, one per color, loaded from a remote CSV file. The React component uses the `useEffect` hook to fetch data via D3’s `csv` utility, then renders each row as an SVG `rect` with its fill set to the color’s RGB hex value. The app initially shows a "Loading..." message until data arrives. It builds on React 16.9 and D3 v5, combining D3’s data-loading with React’s declarative SVG output.

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!

MIT Licensed

Similar vizzes