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)

cec49284c637408890458bb47d10a5ea

Fork of Loading and Parsing CSV Data

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