Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Loading Data

Public visualization

Viewing a saved revision (read-only)

4a38435f20c34f1ab8b414341f940ac9

Loading Data

0 stars1🌍 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.