Skip to main content
100%

Fork of Loading and Parsing CSV Data

✓ Published0🌍 Public
Iiblub
Last edited Sep 22, 2021
Created on Sep 22, 2021

This example displays a plain-text summary of a CSV dataset’s size, row count, and column count in a large font. It loads CSS Named Colors data from a GitHub Gist using D3 v5’s `d3.csv` method, which returns a promise. The code then uses `d3.csvFormat` to measure the data’s size in kilobytes and accesses the parsed array’s `length` and `columns` properties to populate the message. The result is a minimal demonstration of CSV parsing and promise-based data loading without any graphical visualization.

AI-generated description
MIT Licensed

Similar vizzes