{"version":"1.0","type":"rich","title":"Loading Data in React","description":"This example demonstrates how to load and display CSV data in a React application using D3. The app fetches data from a remote GitHub gist via `d3.csv`, then stores it in component state with React hooks (`useState` and `useEffect`). Once loaded, a custom `message` function summarizes the dataset by calculating its file size in kilobytes using `d3.csvFormat`, reporting the number of rows, and listing the column count. While the data downloads, the interface displays a simple “Loading” text placeholder.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/056429fa355e4f9e9879fbd159dee07e?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}