Fork of Loading Data with React & D3 (6.5.0)
This example demonstrates how to load and summarize CSS named colors data using React state and D3 utilities. The code fetches a CSV file from a gist via `d3.csv`, stores the parsed result in React’s `useState`, and updates the display after loading completes. It uses `useEffect` to trigger the async fetch, then renders a text message via the `message` function, which formats file size in kilobytes, row count, and column count using `d3.csvFormat`. The visualization shows plain text statistics rather than a graphical chart.