Skip to main content
100%

Fork of Loading and Parsing CSV Data

✓ Published0🌍 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
MIT Licensed

Similar vizzes