Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Loading and Parsing CSV Data

Public visualization

Viewing a saved revision (read-only)

04686da45be64a50942525045f077702

Fork of Loading and Parsing CSV Data

0 stars0🌍 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