Fork of Loading Data with React & D3
This example demonstrates how React and D3 can work together to load and summarize a dataset of CSS named colors. The application fetches CSV data from a GitHub gist using the `d3.csv` function, then stores the result in React state via the `useState` and `useEffect` hooks. While the data is loading, the interface shows a “Loading...” message; once available, it displays a text summary built with `d3.csvFormat` that reports the file size in kilobytes, the number of rows, and the number of columns. The visualization uses React 16.9, D3 v5, and the `ReactDOM.render` method to mount the component into the DOM.