Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Loading and Parsing CSV Data

Public visualization

Viewing a saved revision (read-only)

3b5f9758f5c143d3a09718a93d26d720

Fork of Loading and Parsing CSV Data

0 stars0🌍 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