Fork of Loading and Parsing CSV Data
✓ Published0🌍 Public
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 descriptionA program that loads and parses some CSV data: CSS Named Colors.
See also:
MIT Licensed