Skip to main content
100%

Fork of Loading and Parsing CSV data

✓ Published1🌍 Public
Ccoltonjcox92
Last edited Jan 23, 2022
Created on Jan 22, 2022

This example displays loading and parsing results of a remote CSV file, showing the file size in kilobytes, row count, and column count in a large text output. It uses `d3.csv` to fetch and parse the data, then `d3.csvFormat` to compute the formatted string length for size estimation, with the final message rendered as plain text in a `<pre>` element. The data source is a CSS-named-colors gist from the author’s GitHub. A commented-out alternative implementation using `fetch` and `d3.csvParse` is also included.

AI-generated description

A program that loads and parses some CSV data

MIT Licensed

Similar vizzes