Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Rendering Data using React & D3

Public visualization

Fork of Rendering Data using React & D3

0 stars0🌍 Public
SSaralanelson
Last edited Jul 17, 2021
Created on Jul 17, 2021

A React application renders a color swatch strip from CSS named colors data. It fetches the dataset using d3.csv from a gist, then maps each row to a styled div whose background color uses the row’s RGB hex value. The example demonstrates integrating React state and hooks (useState, useEffect) with D3’s CSV parsing in an SVG-free layout, producing a full-width, height-constrained band of individual color rows.

AI-generated description

Rendering data using React and D3

Comments

Sign in to join the discussion.

MIT Licensed