{"version":"1.0","type":"rich","title":"Loading data with React and D3","description":"This example demonstrates a minimal React application that loads and summarizes a CSV dataset from a GitHub gist using D3’s `csv` method. It shows how to integrate React hooks like `useEffect` and `useState` with asynchronous D3 data loading. The app displays dataset statistics—including size in kilobytes, row count, and column count—via a custom local ES6 module called `getMessage`. React renders the result, while D3 is imported directly from the `\"d3\"` package. The page also loads React, ReactDOM, and D3 from CDN links in the HTML.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/071dc4c5f31b49e3be11373b66665315?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}