Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Loading Data with React & D3

Public visualization

Fork of Loading Data with React & D3

0 stars0🌍 Public
Ttnk-dev
Last edited Jun 21, 2021
Created on Jun 21, 2021

This example shows a table of CSS named colors loaded from a remote CSV file, with each row displaying the color name, RGB values, and hex code. The code uses React hooks (`useState`, `useEffect`, `useCallback`) to manage data loading and component rendering, while `d3.csv` fetches and parses the external dataset. The `Table` component maps over the parsed rows and columns to generate a styled HTML table, with D3 v5 loading the data and React 16.9 handling the user interface updates.

AI-generated description

A program that loads in some data about CSS named colors using D3 utilities, and uses React state to keep track of the data.

Comments

Sign in to join the discussion.

MIT Licensed