{"version":"1.0","type":"rich","title":"Data with React and D3","description":"This example shows how to load and summarize COVID-19 case data from a CSV file using React and D3. The code fetches a May 2020 dataset from a GitHub gist via the `d3.csv` method, then displays basic metadata about the file, including its size in kilobytes, number of rows, and number of columns. The React app manages the loading state with the `useState` and `useEffect` hooks, rendering a loading message until the data arrives and then presenting the computed statistics. The visualization relies on `d3.csvFormat` to calculate the data size and ReactDOM to mount the component.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/702fc08eb5c447058f6a6b26733ff1d3?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}