Skip to main content
100%

Loading and Parsing CSV Data

✓ Published0🌍 Public
JJames Huang
Last edited Sep 19, 2023
Created on Sep 18, 2023
Forked from HTML Starter

This example demonstrates loading a remote CSV file and displaying basic metadata about it, specifically the file size in kilobytes, the number of rows, and the number of columns. It uses `d3.csv()` from D3 version 7 to fetch and parse the data from a GitHub gist containing CSS named colors. The parsed data is then analyzed with `d3.csvFormat()` and the `data.columns` property, and the resulting statistics are rendered inside an HTML `<pre>` element.

AI-generated description

A Program that loads and parses some csv data.

MIT Licensed

Similar vizzes