Skip to main content
100%

Loading and Parsing CSV data

✓ Published1🌍 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.

MIT Licensed

Similar vizzes