Skip to main content
100%

Loading Parsing CSV Data

✓ Published0🌍 Public
RRaphael Fogha
Last edited Sep 3, 2021
Created on Aug 24, 2021
Forked from Hello HTML

This example demonstrates how to load and parse a CSV file, displaying file size, row count, and column count on a webpage. It uses d3.csv to fetch a remote dataset from a GitHub gist raw URL, then formats the results with d3.csvFormat to calculate kilobytes. The page also includes commented-out code showing an alternative approach using fetch, async/await, and d3.csvParse. A large pre element displays the final statistics as text.

AI-generated description

A bare minimum HTML page.

MIT Licensed

Similar vizzes