Skip to main content
100%

Loading and Parsing CSV Data

✓ Published1🌍 Public
JJohn Kobbeman
Last edited Feb 28, 2021
Created on Feb 28, 2021
Forked from HTML Starter

This example demonstrates how to load and parse CSV data using D3 v6, displaying basic file statistics in the browser. It fetches a remote CSV file containing CSS named colors from a GitHub gist, then uses `d3.csvParse` to convert the raw text into a structured data array. The visible output reports the file size in kilobytes, the number of data rows, and the number of columns, all rendered inside a `<pre>` element. The code relies on the native Fetch API for the HTTP request and `d3.csvParse` for parsing.

AI-generated description

A program that loads and parses some SCV Data.

MIT Licensed

Similar vizzes