Skip to main content
100%

Fork of Loading Data with React & D3

✓ Published0🌍 Public
Wweny1109
Last edited Jul 25, 2023
Created on Jul 25, 2023

This example demonstrates a simple data-loading workflow using React and D3. It fetches a CSV file containing CSS named colors via D3’s `csv` utility and stores the parsed data in React state. While the data is loading, the page displays “Loading...”; once loaded, it shows a concise summary of the dataset, including its size in kilobytes, row count, and column count, formatted as plain text. The visualization uses React hooks (`useState`, `useEffect`) to manage asynchronous data fetching and rendering.

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.

MIT Licensed

Similar vizzes