Skip to main content
100%

Fork of Loading and Parsing CSV Data

✓ Published0🌍 Public
Jjonasveenhues
Last edited May 20, 2022
Created on May 20, 2022

This example demonstrates loading and parsing CSS Named Colors CSV data from a GitHub gist, displaying summary statistics about the dataset as large text on a blank page. The code uses the D3 v5 `d3.csv` method with a promise to fetch the remote CSV file, then computes and reports the formatted data size in kilobytes, the total row count, and the number of columns. The resulting message is rendered into a `<pre>` element using the DOM API `textContent`.

AI-generated description
MIT Licensed

Similar vizzes