Skip to main content
100%

Fork of Loading and Parsing CSV Data

✓ Published0🌍 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.

MIT Licensed

Similar vizzes