Skip to main content
100%

Fork of Mouse Follower -- for Loading Data Section

✓ Published0🌍 Public
Ccorinna-fab
Last edited Jan 12, 2022
Created on Jan 12, 2022
Forked from Mouse Follower

This example demonstrates a React component that loads a CSV dataset and displays summary statistics about it in plain text. The application uses the `useState` and `useEffect` hooks to manage asynchronous data fetching, specifically calling `d3.csv()` to retrieve a list of CSS named colors from a GitHub gist. Once the data loads, the component renders the row count, column count, and file size in kilobytes, calculated using `d3.csvFormat()`. The visualization serves as a minimal, functional illustration of integrating D3 utilities with React state management for data loading workflows.

AI-generated description

A program that loads in some data using D3 utilitis and uses state to track that data.

MIT Licensed

Similar vizzes