Skip to main content
100%

Loading and Parsing CSV Data

✓ Published0🌍 Public
Aaissatheprogrammer
Last edited Nov 21, 2022
Created on Nov 21, 2022
Forked from HTML Starter

This example demonstrates how to load and parse CSV data from a remote URL. It displays the file size in kilobytes, the row count, and the column count of the dataset using D3 v5’s `d3.csv` method. The visualization also includes commented-out alternatives using `fetch` with `async`/`await` and `d3.csvParse`. The data comes from a GitHub Gist containing CSS named colors, and results appear as text in a large `<pre>` element.

AI-generated description
MIT Licensed

Similar vizzes