Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Loading and Parsign CSV data

Public visualization

Viewing a saved revision (read-only)

3977e63afde74d268e547ea4bff80d4e

Loading and Parsign CSV data

0 stars0🌍 Public
AAlicia Larsen
Last edited Nov 25, 2023
Created on Nov 24, 2023
Forked from Hello HTML

This example demonstrates how to load and parse CSV data in D3 v5, displaying the file size, row count, and column count of a remote dataset. It uses `d3.csv` to fetch and parse the data asynchronously, then calculates the formatted output with `d3.csvFormat` to measure its kilobyte size. A commented-out alternative shows the same process using the Fetch API with `d3.csvParse`. The results are rendered as text inside a `<pre>` element.

AI-generated description

A bare minimum HTML page.