Loading and Parsing CSV Data
✓ Published2🌍 Public
This example displays a summary of a CSV file loaded from a GitHub gist, showing the file size, row count, and column count in large text. It uses the `fetch` API to retrieve the raw text, then parses it with the `d3.csvParse` function from D3 v5. The parsed data’s `length` and `columns` properties provide the row and column totals, which are rendered into an HTML `<pre>` element via JavaScript.
AI-generated descriptionA program that loads and parses some CSV data.
MIT Licensed