Load and Parse Csv File
✓ Published0🌍 Public
This example demonstrates loading and parsing a CSV file with D3, displaying the dataset’s size in kilobytes, row count, and column count as plain text. It fetches a remote CSV from a GitHub gist using `d3.csv`, which parses the file into an array of objects. The formatted data is measured with `d3.csvFormat`, and the computed metrics are injected into an HTML `<pre>` element via `textContent`. The page uses D3 v5 with a minimal, unstyled body layout.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.
MIT Licensed