Loading and Parsing CSV Data
✓ Published0🌍 Public
This example shows the basic performance and structure of a CSV dataset by displaying its file size, row count, and column count as large text. It loads the data from a remote GitHub gist containing CSS named colors using the `d3.csv` method. The code then uses `d3.csvFormat` to calculate the data size in kilobytes and accesses the parsed array’s `length` and `columns` properties. The resulting summary is inserted into the page’s DOM via `textContent`.
AI-generated descriptionA program that loads and parses some CSV data.
MIT Licensed