{"version":"1.0","type":"rich","title":"Loading Data with React & D3","description":"This example demonstrates how to load and summarize external data within a React component using D3 utilities. It fetches a CSV file of CSS named colors via D3’s `csv` method, stores the result in React state with `useState` and `useEffect`, and then displays a simple text summary of the dataset. The message shows the file size in kilobytes, row count, and column count, computed by combining `d3.csvFormat` with basic string operations. The code relies on React 16.9 hooks and D3 v7, with the data sourced from a GitHub gist.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/5d2bbafb4aea4c279024e445a5eadb5d?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}