Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Loading and Parsing CSV data

Public visualization

Viewing a saved revision (read-only)

7d7664ca9309492cab398b9c5f1283e7

Fork of Loading and Parsing CSV data

0 stars1🌍 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