Skip to main content
100%

Loading and Parsing CSV Data

✓ Published0🌍 Public
CChris Ferenci
Last edited Apr 17, 2022
Created on Apr 17, 2022
Forked from Hello HTML

This example demonstrates the size and structure of a CSV file by fetching it and displaying its file size, row count, and column count as large text. After loading the data from a GitHub-hosted CSS named colors dataset, it uses `d3.csv` to parse the remote file, then accesses `data.length` and `data.columns.length` to summarize the dataset. The code also shows an alternative approach using the Fetch API and `d3.csvParse` in commented-out form.

AI-generated description

A bare minimum HTML page.

MIT Licensed

Similar vizzes