{"version":"1.0","type":"rich","title":"Loading Data with React and D3","description":"This example demonstrates how to load and inspect a CSV dataset within a React application, displaying basic file statistics such as size in kilobytes, row count, and column count. The visualization uses React hooks (`useState`, `useEffect`) to manage asynchronous data loading, while D3’s `csv` function fetches the external data and `d3.csvFormat` measures its size. The result is rendered as plain text in a `<pre>` element, with a loading message shown until the data arrives. The data source is a GitHub gist URL.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/fb042d38d5564ed391236e53f6eb563f?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}