Skip to main content
100%

Loading and Parsing CSV Data

✓ Published0🌍 Public
Wwhiteswallow87
Last edited Mar 31, 2021
Created on Mar 29, 2021
Forked from HTML Starter

This example shows the basic performance and structure of a CSV dataset by displaying its file size, row count, and column count as large text. It loads the data from a remote GitHub gist containing CSS named colors using the `d3.csv` method. The code then uses `d3.csvFormat` to calculate the data size in kilobytes and accesses the parsed array’s `length` and `columns` properties. The resulting summary is inserted into the page’s DOM via `textContent`.

AI-generated description

A program that loads and parses some CSV data.

MIT Licensed

Similar vizzes