Fork of Loading Data with React & D3
This example demonstrates a minimal data-loading and reporting interface. It displays a text summary of a remote CSV file, showing the file size in kilobytes, the row count, and the column count. The application fetches the data using D3's `csv` function and manages the asynchronous state with React's `useState` and `useEffect` hooks. Once loaded, the `message` function calculates and formats these statistics for display within a large, styled `<pre>` element.