Skip to main content
100%

Fork of Loading and Parsing CSV Data

✓ Published0🌍 Public
Ssumakokima2
Last edited Jun 9, 2021
Created on Jun 8, 2021

This example demonstrates how to load and parse CSV data from a remote URL, displaying summary statistics about the dataset. It fetches a CSV file containing CSS named colors and reports the file size in kilobytes, the number of rows, and the number of columns in a large-text HTML element. The code uses `d3.csv` to fetch and parse the data, followed by `d3.csvFormat` and `data.length` to compute metrics. The page also includes commented-out alternatives using the Fetch API with async/await and `d3.csvParse`.

AI-generated description
MIT Licensed

Similar vizzes