Skip to main content
100%

Loading and Parsing CSV Data

✓ Published0🌍 Public
HHollyClarke19
Last edited Jan 24, 2021
Created on Jan 24, 2021
Forked from HTML Starter

This example demonstrates the initial stage of a data visualization pipeline: loading and parsing CSV data from a remote URL. It fetches a dataset of CSS named colors using the Fetch API, then parses it with d3.csv. The visualization displays basic metadata about the parsed dataset—its size in kilobytes, row count, and column count—in a large pre element. The code highlights D3’s csvFormat method to compute data size and showcases how D3 v6 handles asynchronous data loading via Promises.

AI-generated description

A program that loads and parses csv data

MIT Licensed

Similar vizzes