Loading and Parsing CSV Data
This example demonstrates how to load and parse a CSV file using D3 v5, displaying the file size, row count, and column count in a large text block. The code fetches a CSV of CSS named colors from a GitHub gist via `d3.csv`, which returns a promise, and then uses `d3.csvFormat` to measure the data size in kilobytes. The parsed data array and its `.columns` property provide the row and column totals, which are written into the page using standard DOM manipulation.