Skip to main content
100%

Loading and Parsing CSV Data

✓ Published0🌍 Public
Rreddyakshitha
Last edited Feb 25, 2022
Created on Feb 24, 2022
Forked from HTML Starter

This example demonstrates how to load and parse CSV data from a remote URL using D3.js v5. The page displays the size of the dataset in kilobytes, the total number of rows, and the number of columns in separate text blocks. It uses the `d3.csv` method to fetch the data asynchronously, then accesses the parsed array and its `.length` and `.columns` properties to compute the metrics. The `d3.csvFormat` function is used to estimate the file size from the parsed data.

AI-generated description
MIT Licensed

Similar vizzes