Fork of Loading and Parsing CSV Data
This example demonstrates how to load and parse CSV data from a remote URL, displaying summary statistics about the dataset. The code fetches a CSV file containing CSS named colors and calculates the file size in kilobytes, the number of rows, and the number of columns. It primarily uses `d3.csv` with a promise chain, while commented-out alternatives show the same task using `fetch`, `async`/`await`, and `d3.csvParse`. The results are rendered as large text inside a `<pre>` element, with the D3 library loaded via a CDN.