Skip to main content
100%

Fork of Loading and Parsing CSV Data

✓ Published0🌍 Public
EEeshwari Balusu
Last edited Nov 12, 2023
Created on Nov 12, 2023

This example demonstrates how to load and parse CSV data from a remote URL, displaying summary statistics (file size, row count, and column count) as large text. It uses d3.csv to fetch and parse the dataset, then computes the formatted output with d3.csvFormat. The code also includes commented alternatives using the Fetch API with async/await and d3.csvParse, as well as a nested Promise-based approach. The data source is a city_day.csv file hosted on GitHub.

AI-generated description
MIT Licensed

Similar vizzes