Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Mouse Follower

Public visualization

Viewing a saved revision (read-only)

0b81c6dd2f304f4cb2c60ad75f3a4ada

Fork of Mouse Follower

0 stars0🌍 Public
Rrayhanasyraff
Last edited Sep 4, 2021
Created on Sep 4, 2021
Forked from Mouse Follower

This example demonstrates a concise display of CSV file metadata, presenting the data size in kilobytes, row count, and column count. The visualization loads a CSS named colors dataset from a GitHub gist using the D3 `csv` utility and React's `useState` and `useEffect` hooks. The app calculates and formats the summary with `d3.csvFormat`, and renders the result as large text in a `<pre>` element via ReactDOM, replacing a loading message once the data arrives.

AI-generated description

A program that loads in some data using D3 utilities and, uses React state to keep track of the data.