Skip to main content
100%

Loading and Parsing CSV Data

✓ Published0🌍 Public
OOlwethu Theo Nyondo
Last edited Feb 2, 2020
Created on Feb 1, 2020

This example demonstrates multiple techniques for loading and parsing CSV data in D3.js v5, using the CSS Named Colors dataset from a GitHub gist. The page displays statistics about the dataset, including file size in kilobytes, row count, and column count, rendered in large text. It showcases three approaches: `d3.csv` with promises, `fetch` with async/await combined with `d3.csvParse`, and a nested promise chain. The concrete APIs used include `d3.csv`, `d3.csvParse`, `fetch`, and `response.text()`.

AI-generated description

A program that loads and parses some CSV data: CSS Named Colors.

MIT Licensed

Similar vizzes