Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Fork of Hello HTML

Public visualization

Fork of Fork of Fork of Hello HTML

0 stars0🌍 Public
Ssixsoxsix
Last edited May 2, 2022
Created on May 2, 2022

This example demonstrates a React and D3 visualization that displays the size and row count of a CSS named colors dataset loaded from a CSV file. The interface initially shows a loading message, then renders a concise summary of the data once fetched. The code uses React hooks (`useState`, `useEffect`) to manage asynchronous data loading, and the `d3.csv` function to parse the dataset. The `message` utility formats the output by computing the CSV file size in kilobytes using `d3.csvFormat` and reporting the number of data rows.

AI-generated description

A bare minimum HTML page.

Comments

Sign in to join the discussion.

MIT Licensed