Loading and parsing CSV data
This example demonstrates how to load and parse CSV data in D3 v7, displaying the dataset’s size, row count, and column count in a large, styled text block. It fetches a CSV of CSS named colors from a GitHub gist using `d3.csv`, then computes the file size from the formatted output via `d3.csvFormat`. The code also includes a commented alternative using the Fetch API with `d3.csvParse` for manual parsing.