Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Loading and Parsing CSV Data

Public visualization

Fork of Loading and Parsing CSV Data

0 stars0🌍 Public
Llaurence beattie
Last edited Sep 20, 2021
Created on Sep 20, 2021

This example demonstrates loading and parsing CSS Named Colors CSV data, displaying the file size, row count, and column count as text. It uses `d3.csv` to fetch and parse the remote CSV file from a GitHub Gist, then formats the results with `d3.csvFormat` to calculate kilobytes. A commented alternative shows the same process using `fetch`, `async`/`await`, and `d3.csvParse`. The visualization is minimal—a single `<pre>` element updated with the parsed data summary, built with D3 v5 in a React framework.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed