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)

711457ac1dcf4b19b12242d9ca0dfb86

Fork of Loading and Parsing CSV Data

0 stars0🌍 Public
Aansonzhu1997
Last edited Oct 29, 2021
Created on Oct 29, 2021

This example demonstrates how to load and parse CSV data using D3.js. It fetches a CSV file containing COVID cases and employment statistics and displays the file size, row count, and column count in a large text output. The visualization primarily uses `d3.csv` to parse the data, with commented alternatives showing `fetch`, `async`/`await`, and `d3.csvParse`. A commented-out "pyramid of doom" pattern using nested `fetch` and `response.text()` is also present.

AI-generated description