Fork of Loading Data with React & D3
This example demonstrates loading CSS named color data from a CSV file and displaying a summary of its size, row count, and column count. The code uses React hooks (`useState`, `useEffect`) to manage asynchronous data fetching with the D3 `csv` utility. Once loaded, the data is formatted into a text message using `d3.csvFormat` to calculate its size in kilobytes. The interface shows a simple text summary, with a "Loading..." placeholder until the fetch completes.