Skip to main content
100%

Fork of Loading and Parsing CSV Data

✓ Published0🌍 Public
FFlorian Kotthoff
Last edited Aug 30, 2021
Created on Aug 30, 2021

This example demonstrates loading and parsing a CSV file of CSS named colors, displaying a summary of the dataset’s size in kilobytes, row count, and column count within a large HTML `<pre>` element. It fetches the remote CSV using d3.csv, which parses the data and returns a promise, then uses `d3.csvFormat` to measure the formatted length and access the parsed dataset’s columns. The visualization relies on D3 v5 and JavaScript’s promise handling to update the page text content.

AI-generated description
MIT Licensed

Similar vizzes