Skip to main content
100%

Loading and Parsing CSV Data

✓ Published0🌍 Public
Bbryce-walsh
Last edited Mar 10, 2021
Created on Mar 10, 2021
Forked from HTML Starter

This example demonstrates how to load and parse a remote CSV file using D3 v6. It fetches CSS named colors data from a GitHub gist, then uses `d3.csv` to parse the file and `d3.csvFormat` to measure its size. The program displays a summary showing the data size in kilobytes, the number of rows, and the number of columns. The commented code also illustrates alternative approaches using the Fetch API with `async/await` and `d3.csvParse`.

AI-generated description

a program that loads and parses some csv data

MIT Licensed

Similar vizzes