Skip to main content
100%

Episode 13 & 15: Loading and Parsing CSV Data

✓ Published0🌍 Public
JJasmine Ye Han
Last edited Dec 31, 2021
Created on Dec 21, 2021
Forked from HTML Starter

This example demonstrates how to load and parse CSV data in D3.js, displaying file size, row count, and column count for a dataset of CSS named colors from a GitHub gist. The visualization uses d3.csv to fetch and parse the remote CSV file, then computes and renders the statistics in a large preformatted text element. The code also includes commented alternatives using async/await with fetch and d3.csvParse, though these are not active. The output updates directly to the DOM via innerHTML.

AI-generated description

A program that loas and parses some CSV data.

MIT Licensed

Similar vizzes