Skip to main content
100%

Loading Data

✓ Published1🌍 Public
Iiffath.namira@csedge.org
Last edited Jan 10, 2025
Created on Jan 9, 2025
Forked from Mouse Follower

This example demonstrates the process of loading and summarizing a CSV dataset. It shows a text display that either reports "Loading..." while data is fetched or presents the dataset's size in kilobytes, row count, and column count once loaded. The visualization uses React with hooks like `useState` and `useEffect` to manage state and trigger the asynchronous `d3.csv()` call. The fetched data is formatted using `d3.csvFormat` to calculate its size, with the React component rendering the result as an SVG-based `pre` element.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes