🌍 Public
Viewing a saved revision (read-only)
98cc292a3bc54d129ed49854250c7c8e
Loading Parsing CSV Data
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 descriptionA bare minimum HTML page.