Skip to main content
100%

Fork of Loading and Parsing CSV Data

✓ Published0🌍 Public
Wwillapolman@gmail.com
Last edited May 2, 2024
Created on Apr 30, 2024

This example demonstrates how to load and parse CSV data from a remote URL using D3.js v5. It fetches a world dataset from GitHub and displays the file size in kilobytes, row count, and column count in large text. The implementation uses `d3.csv` to retrieve and parse the data directly, while commented-out alternatives show the same task with `fetch`, `async`/`await`, and `d3.csvParse`. The interface is a minimal HTML page with a styled `<pre>` element for output.

AI-generated description
MIT Licensed

Similar vizzes