Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Loading Data with react and D3

Public visualization

Viewing a saved revision (read-only)

c4b1732507254bf48221a74ffc8459c8

Loading Data with react and D3

0 stars0🌍 Public
Ccaptind
Last edited Feb 22, 2023
Created on Feb 22, 2023
Forked from Mouse Follower

This example demonstrates how to load and display CSV data within a React application using D3. It shows a text summary of the dataset, including its size in kilobytes, row count, and column count, while the data is fetched asynchronously from a remote GitHub URL. The code uses React hooks like `useState` and `useEffect` along with D3’s `csv` function to parse the data, and renders the result as SVG text within a `<pre>` element.

AI-generated description

A program that follows your mouse with a circle.