Skip to main content
100%

Fork of Loading and Parsing CSV Data

✓ Published0🌍 Public
SSkye Chen
Last edited Jul 11, 2021
Created on Jul 11, 2021

This example displays summary statistics about the CSS Named Colors dataset, showing the file size in kilobytes, the number of data rows, and the number of columns. It loads the CSV from a GitHub Gist using the `d3.csv` method, which returns a promise, and then formats the result with `d3.csvFormat` and `data.columns`. The code also includes commented-out alternatives using `fetch`, `async`/`await`, and `d3.csvParse` to demonstrate different parsing strategies, highlighting the modern promise-based workflow.

AI-generated description
MIT Licensed

Similar vizzes