{"version":"1.0","type":"rich","title":"Loading data with d3 and react","description":"This example demonstrates how to load a CSV dataset and display its summary statistics as oversized text in a React application. The app fetches data from a GitHub Gist URL using the `d3.csv` method, then formats a message with file size in kilobytes, row count, and column count using `d3.csvFormat` and the data’s metadata. Rendered inside a `<pre>` element, the result updates from “loading…” to the computed statistics once the data arrives. The code uses React hooks (`useState`, `useEffect`) and the `ReactDOM.render` API with D3 v7.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/2c289df90e36417fb64610856168c14f?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}