Loading Data with React & D3
This example demonstrates how to load and display a CSV dataset from a GitHub gist using React and D3. It shows the file size in kilobytes, row count, and column count as plain text. The code uses the `useState`, `useEffect`, and `useCallback` hooks to manage asynchronous data loading, with the `csv` function from D3 v5 fetching the data and updating React state. The `message` utility formats the summary from the parsed CSV structure.