Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Loading Data practice

Public visualization

Loading Data practice

0 stars0🌍 Public
JJaymi Yam
Last edited May 14, 2026
Created on May 14, 2026
Forked from Hello HTML

This example demonstrates loading a remote CSV file and displaying summary statistics about it: the data size in kilobytes, row count, and column count. It uses D3 v5’s asynchronous `d3.csv()` method to fetch and parse the data from a GitHub gist containing CSS named colors, then computes the formatted size via `d3.csvFormat()`. The results are rendered as plain text in an HTML `<pre>` element. An alternative commented-out approach using `fetch()` and `d3.csvParse()` is also provided in the code.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed