Skip to main content
100%

Loading Data

✓ Published0🌍 Public
Kkevin-jake
Last edited Apr 6, 2022
Created on Apr 6, 2022
Forked from Mouse Follower

This example demonstrates asynchronous data loading with D3 and React. It fetches a CSV file of CSS named colors from a GitHub gist, then displays the file size, row count, and column count as plain text. The code uses React hooks (`useState`, `useEffect`) to manage state and trigger the `d3.csv` request, while a helper function formats the statistics from the parsed data. Rendering switches from a “loading…” message to the dataset summary once the promise resolves.

AI-generated description

A bare minimum HTML page.

MIT Licensed

Similar vizzes