{"version":"1.0","type":"rich","title":"Loading Data with React & d3","description":"This example demonstrates how to load a CSV dataset from a GitHub gist and display a summary message using React state. It uses the `useState` hook to hold the fetched data and `useEffect` with an empty dependency array to call d3.csv once on component mount. The `message` function computes the number of rows, columns, and approximate file size using d3.csvFormat. The result updates a `<pre>` element, showing either loading text or the computed statistics, with React handling the rendering.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/91e03fadea3d4571a9b6c3bf0f713560?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}