Skip to main content
100%

Fork of Loading and Parsing CSV Data

✓ Published0🌍 Public
Hhuashe418
Last edited Jun 5, 2021
Created on Jun 5, 2021

This example displays file size, row count, and column count from a CSV file containing CSS named colors. The visualization uses D3 v5’s `d3.csv` method to load and parse the data asynchronously, then presents the statistics in a large HTML `<pre>` element. The code also includes commented-out alternatives using `fetch`, `async`/`await`, and `d3.csvParse`, illustrating different approaches to handling remote data loading. The data source is a GitHub gist hosted CSV file.

AI-generated description
MIT Licensed

Similar vizzes