Skip to main content
100%

Loading Data with React and D3

✓ Published0🌍 Public
JJulia
Last edited Oct 3, 2021
Created on Oct 3, 2021
Forked from Mouse Follower

This example demonstrates how to load and summarize a CSV dataset in a React application using D3 utilities. The component displays the data’s size in kilobytes, row count, and column count in large text. React’s `useState` and `useEffect` hooks manage the asynchronous data loading, while D3’s `csv` and `csvFormat` functions fetch and format the data from a GitHub Gist containing CSS named colors. D3 version 5 and React 16 are used together.

AI-generated description

A program that loads in data using D3 utilities and uses React state to keep track of data

MIT Licensed

Similar vizzes