Skip to main content
100%

Fork of Loading and Parsing CSV Data

✓ Published0🌍 Public
AAhmed Fathi
Last edited Dec 23, 2021
Created on Dec 22, 2021

This example demonstrates how to load and parse CSV data using D3 v7, displaying a summary of the dataset’s size, row count, and column count in a large text element. It fetches a remote CSV file containing CSS named colors via `d3.csv`, which returns a promise, and then chains `.then()` to format the results using `d3.csvFormat`. The parsed data is measured in kilobytes, rows, and columns, with the final message rendered into the DOM.

AI-generated description
MIT Licensed

Similar vizzes