Skip to main content
100%

Fork of Loading and Parsing CSV Data

✓ Published0🌍 Public
Aalfredwang0707
Last edited May 6, 2021
Created on May 6, 2021

This example demonstrates how to load and parse CSV data from a remote URL, displaying the file size in kilobytes, row count, and column count as plain text. It uses the `d3.csv` function from D3 v5 to fetch and parse the CSS Named Colors dataset. The code also includes commented-out alternatives using `fetch`, async/await, and `d3.csvParse`, showing different approaches to handling asynchronous data loading. The visualization itself is minimal, prioritizing the data-loading process over graphical representation.

AI-generated description
MIT Licensed

Similar vizzes