Skip to main content
100%

Parsing CSV Data With D3

✓ Published0🌍 Public
YYann Bilodeau
Last edited Feb 17, 2022
Created on Feb 17, 2022

This example displays a text-based summary of a CSV file loaded from a remote URL, showing its size in kilobytes, row count, and column count. It uses D3’s `d3.csvParse` to convert raw text fetched via the Fetch API into structured data, then accesses the parsed array’s `length` and the `columns` property to extract the counts. The result is rendered in a large `<pre>` element, with the data sourced from a GitHub Gist.

AI-generated description

A program that loads and parses some csv data!!

MIT Licensed

Similar vizzes