Skip to main content
100%

Fork of Loading and Parsing CSV Data

✓ Published0🌍 Public
AAnna Absi
Last edited Apr 17, 2021
Created on Apr 17, 2021

This example displays summary statistics from a remote CSV file containing COVID-19 vaccination data. The page shows the file size in kilobytes, the number of rows, and the number of columns, rendered in large text within a `<pre>` element. It uses d3.csv to fetch and parse the data from the provided URL, then formats the results with d3.csvFormat. The code also includes commented-out alternatives using the Fetch API with async/await and d3.csvParse, as well as a nested promise “pyramid of doom” pattern.

AI-generated description
MIT Licensed

Similar vizzes