Dataviz-02-loadingDataInReact
This example demonstrates how to load and display a summary of CSS named colors data using React state management and D3 utilities. The application fetches a CSV file from a GitHub gist using D3’s `csv` function, storing the parsed result in React’s `useState` hook via `useEffect`. While loading, it displays a simple "Loading..." message. Once data arrives, the view shows the file size in kilobytes, row count, and column count, formatted with `d3.csvFormat` and rendered as text in a `<pre>` element.