Skip to main content
100%

Loading and Parsing CSV data

✓ Published0🌍 Public
Iivipaneva2002@gmail.com
Last edited Dec 29, 2023
Created on Dec 28, 2023
Forked from HTML Starter

This example displays the result of loading and parsing a CSV file from a remote URL. It fetches the raw text of the dataset, then uses `d3.csvParse` to convert it into an array of objects. The program calculates and displays the file size in kilobytes, the number of rows, and the number of columns in a large `<pre>` element. The data source is a GitHub gist containing CSS named colors, and the code relies on the `fetch` API and D3 v7.

AI-generated description

A program that loads and parses some CSV data.

MIT Licensed

Similar vizzes