Loading and Parsing CSV
This example demonstrates how to load and parse a CSV file in a React application, displaying a message with the row count, column count, and total data size. The code uses D3 v5's `csv` function to fetch the named CSS colors dataset from a GitHub gist, storing the parsed result in state via React hooks. Once loaded, the component formats a summary using `d3.csvFormat` to estimate the data size in kilobytes. The visualization is minimal, focusing solely on confirming successful data ingestion rather than rendering charts.