Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Mouse Follower

Public visualization

Viewing a saved revision (read-only)

651da8f69e7246759230c789bcc37062

Fork of Mouse Follower

0 stars0🌍 Public
MMorgan
Last edited Dec 14, 2024
Created on Dec 14, 2024
Forked from Mouse Follower

This example loads a CSV dataset of CSS named colors using D3’s `d3.csv` utility and displays a summary of that data’s size, row count, and column count. The React application uses the `useState` hook to manage the fetched data, initially showing the text “loading” until the asynchronous request resolves. Once loaded, the message is rendered inside an HTML `<pre>` element, with the total file size computed via `d3.csvFormat`. The visualization is minimal, focusing on the data-loading and state-management workflow rather than graphical output.

AI-generated description

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