Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Loading and Parsing CSV data

Public visualization

Viewing a saved revision (read-only)

70ee5a14ac314a91854b03b967ba3965

Loading and Parsing CSV data

0 stars1🌍 Public
CCatalina Vajiac
Last edited Feb 24, 2022
Created on Feb 24, 2022
Forked from Hello HTML

This example demonstrates loading and parsing a CSV file with D3, displaying basic file statistics as plain text. It fetches a remote dataset of CSS named colors and reports the number of rows, columns, and file size in kilobytes. The code uses `d3.csv` with a Promise-based `.then()` callback to handle the asynchronous data loading, and `d3.csvFormat` to compute the serialized size. All output appears in an HTML `<pre>` element via standard DOM text manipulation.

AI-generated description

A bare minimum HTML page.