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)

536545af7ec14d4f89afd6a4f06f14a1

Fork of Loading and Parsing CSV Data

0 stars0🌍 Public
MmayankCognitree
Last edited Mar 11, 2021
Created on Mar 11, 2021

A bar-free data-loading demo that displays the file size, row count, and column count of a CSV of CSS named colors fetched from a GitHub gist. The visualization itself is a simple text message rendered in an HTML `<pre>` element. The code demonstrates both D3’s `d3.csv` and `d3.csvParse` for parsing, alongside commented-out approaches using `fetch` with `async`/`await` and an uncommented “pyramid of doom” chain of `fetch` and `response.text()`. The final active code only logs the raw text to the console, not the metrics.

AI-generated description