Skip to main content
100%

Loading Data with React & D3

✓ Published0🌍 Public
RRoberto M
Last edited Feb 19, 2022
Created on Nov 23, 2021
Forked from Mouse follower

This example demonstrates a minimalist data-loading interface that displays summary statistics about a CSV dataset, including its file size in kilobytes, row count, and column count. Built with React and D3 v7, it uses the `useState` and `useEffect` hooks to asynchronously fetch and store data via `d3.csv`. The imported `message` function formats the statistics, which are rendered as text inside a `<pre>` element within a styled dark-themed SVG container.

AI-generated description

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

MIT Licensed

Similar vizzes