Skip to main content
100%

Gaffel_Loading and Parsing CSV Data

✓ Published0🌍 Public
Ssheetbag
Last edited Aug 27, 2021
Created on Aug 27, 2021

This example demonstrates how to load and parse CSV data using both the `d3.csv` method and the Fetch API with `async`/`await` plus `d3.csvParse`. It displays the size in kilobytes, row count, and column count of the CSS Named Colors dataset from a GitHub gist. The interface is a single `<pre>` element updated via `textContent` in plain text. Both parsing approaches produce identical results, while commented code shows a nested Promise pyramid for comparison.

AI-generated description
MIT Licensed

Similar vizzes