🌍 Public
Viewing a saved revision (read-only)
511f5c7655bf4c42939270d262096d2e
Loading and Parsing CSV Data
This example demonstrates how to load and parse a CSV file using D3.js v7. It fetches a remote CSV dataset containing named CSS colors, then displays the file size in kilobytes, row count, and column count as large text on the page. The code uses d3.csv to retrieve and parse the data, then d3.csvFormat to calculate the file size, and writes the results to the DOM through textContent. The data source is a GitHub Gist URL.
AI-generated descriptionA bare minimum HTML page.