Skip to main content
100%

Fork of Loading and Parsing CSV Data

✓ Published0🌍 Public
MMateusz Urban
Last edited Mar 7, 2021
Created on Mar 7, 2021

This example demonstrates how to load and parse CSV data using D3.js version 6, displaying a summary of the loaded dataset. It fetches a CSS Named Colors CSV file from a GitHub gist and shows the file size, row count, and column count in large text. The primary implementation uses `d3.csv` with a promise-based `.then()` callback to handle the parsed data. Alternative commented-out approaches include using `fetch` with `async`/`await` and `d3.csvParse`, as well as a nested fetch chain, illustrating different ways to handle asynchronous data loading.

AI-generated description
MIT Licensed

Similar vizzes