🌍 Public
Viewing a saved revision (read-only)
64b1e3737158434fb6f44631566bd133
Loading and Parsing CSV Data
This example demonstrates the basic workflow of loading and parsing CSV data with D3, displaying the file size, row count, and column count as large text. It uses the `d3.csv` method to fetch a remote CSV file from a GitHub Gist and parse it into a tabular data structure, then formats the output with `d3.csvFormat`. The resulting statistics are written to a DOM element with `textContent`.
AI-generated descriptionA program that loads and parses some CSV data.