Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Loading data with React D3

Public visualization

Loading data with React D3

0 stars1🌍 Public
SShashwat Kumar
Last edited Jul 21, 2021
Created on Jul 16, 2021

This interactive web page demonstrates how to load and summarize a CSV dataset using React and D3. A large text display shows three key statistics about the data—the file size in kilobytes, the number of rows, and the number of columns—computed by the `message` function. The application fetches the data from a remote CSV file containing CSS named colors via `d3.csv`, then uses React’s `useEffect` and `useState` to manage the asynchronous loading and display the results.

AI-generated description

A progran that follows our mouse.

Comments

Sign in to join the discussion.

MIT Licensed