Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Loading and Parsing CSV Data

Public visualization

Fork of Loading and Parsing CSV Data

0 stars0🌍 Public
IIsh Takkar
Last edited Jun 19, 2021
Created on Jun 19, 2021

This example demonstrates how to fetch and parse a remote CSV file, then display basic metadata about the dataset. The code uses the Fetch API with async/await to retrieve the text, and d3.csvParse to convert it into an array of objects. The parsed data’s row count and column count are displayed alongside the raw file size in kilobytes, all rendered inside a large pre element. The data source is a GitHub gist containing CSS named colors.

AI-generated description

A program that loads and parses some data.

Comments

Sign in to join the discussion.

MIT Licensed