Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Loading and Parsing CSV Data

Public visualization

Loading and Parsing CSV Data

0 stars0🌍 Public
TTaeyoung Ahn
Last edited Sep 7, 2021
Created on Aug 13, 2021
Forked from Hello HTML

This example demonstrates loading and parsing CSV data from a remote URL, then displaying summary statistics about the dataset. It fetches a named CSS colors table and reports its size in kilobytes, row count, and column count in large text. The code uses D3 v7’s `d3.csv` method to retrieve and parse the file, and `d3.csvFormat` to calculate the data size. It also includes commented alternatives using the Fetch API and `d3.csvParse` for manual text handling.

AI-generated description

A program that loads and parses CSV data.

Comments

Sign in to join the discussion.

MIT Licensed