Skip to main content
100%

Loading and parsing CSV data

✓ Published0🌍 Public
Aadante111
Last edited Sep 8, 2023
Created on Aug 1, 2023
Forked from HTML Starter

This example demonstrates loading a remote CSV file and parsing it with D3.js, displaying basic dataset statistics as large text. It uses `d3.csv` to fetch and parse the data from a GitHub Gist, then reports the approximate size of the formatted output in kilobytes, the number of rows, and the number of columns. The page also includes commented-out code showing an alternative approach using the `fetch` API with `async`/`await` and `d3.csvParse` for manual text parsing, but the active path relies on D3's built-in CSV handling.

AI-generated description

A program that loads and parses csv data

MIT Licensed

Similar vizzes