Skip to main content
100%

Loading and Parsing CSV Data

✓ Published0🌍 Public
HHunDeTroie
Last edited Dec 16, 2021
Created on Dec 15, 2021

This example demonstrates the process of loading and parsing CSV data by fetching a file of CSS named colors and displaying summary statistics about it. It shows the data’s size in kilobytes, the number of rows, and the number of columns as large text on the page. The code uses the `fetch` API within an `async` function to retrieve the raw text, then relies on `d3.csv` and `d3.csvFormat` to parse and measure the data, highlighting the integration of D3 v5 with modern JavaScript.

AI-generated description
MIT Licensed

Similar vizzes