Fork of Loading Data with React & D3
This example demonstrates a minimal React and D3 integration that loads CSS named color data from a remote CSV file and displays summary statistics. The app uses React’s `useState` and `useEffect` hooks to manage the data-fetching lifecycle, calling D3’s `csv` function to parse the dataset. Once loaded, it renders a plain-text message showing the file size in kilobytes, row count, and column count, formatted via `d3.csvFormat`. While the data is pending, the UI shows a simple “Loading…” placeholder. The visualization itself is purely textual, with no charts or graphical elements.