Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Loding Data with React & D3

Public visualization

Viewing a saved revision (read-only)

b8c6fe168ffa4aa5a3cd72eb81bb06f3

Loding Data with React & D3

0 stars1🌍 Public
곽곽옥석
Last edited Jul 23, 2021
Created on Jul 23, 2021
Forked from Mouse Fllower

This example demonstrates asynchronous data loading in a React application with D3.js. It fetches a CSV file containing CSS named colors and computes a summary message displaying the file size in kilobytes, number of rows, and column count. The code uses React hooks such as `useState` and `useEffect` to manage the data state, while the `d3.csv` function retrieves the remote dataset and `d3.csvFormat` calculates its byte size. The result is rendered as plain text within a `<pre>` element, showing "Loading..." until the data arrives.

AI-generated description

A program that follows your mouse with a cicle.