Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Loading and Parsing CSV Data

Public visualization

Fork of Loading and Parsing CSV Data

0 stars1🌍 Public
Aadamacass
Last edited Sep 10, 2021
Created on Sep 10, 2021

This example demonstrates the size and structure of a CSV file containing CSS named colors using text-based output. The visual shows three metrics: the file size in kilobytes, the number of data rows, and the number of columns. The primary implementation employs `d3.csv()` from D3 v5, which loads and parses the remote CSV data asynchronously, with the results displayed in a large HTML `<pre>` element. The code also includes commented alternatives using the Fetch API with async/await and `d3.csvParse()` for comparison.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed