Skip to main content
100%

Please work

✓ Published1🌍 Public
Qqtrfx
Last edited Jun 17, 2023
Created on Jun 17, 2023
Forked from Mouse Follower

This example demonstrates a minimal React and D3 integration, displaying metadata about a dataset loaded from a CSV file. It shows the file size in kilobytes, row count, and column count as large text. The code uses D3’s `csv` utility to fetch data from a remote URL, stores it in React state via the `useState` and `useEffect` hooks, and conditionally renders a loading message or the computed statistics. The message is generated using `d3.csvFormat` and string concatenation within a custom `message` module.

AI-generated description

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

MIT Licensed

Similar vizzes