Skip to main content
100%

Fork of Loading and Parsing CSV Data

✓ Published1🌍 Public
ZZololen
Last edited Jul 3, 2022
Created on Jul 3, 2022

This example demonstrates how to load and parse CSV data from a remote URL, displaying the file size, row count, and column count in large text. The code uses D3 v5’s `d3.csv` method with a Promise to fetch the data, then measures it using `d3.csvFormat`. Alternatively, the commented-out code shows the same task using the Fetch API with async/await and `d3.csvParse`. The data source is a GitHub Gist containing CSS named colors.

AI-generated description
MIT Licensed

Similar vizzes