{"version":"1.0","type":"rich","title":"Load data with React","description":"This example demonstrates loading and summarizing a CSV dataset from a remote URL using React and D3. The app displays the file size in kilobytes, row count, and column count once the data loads, replacing a \"loading\" message. It uses the React hooks `useState` and `useEffect` to fetch the data with `d3.csv`, then formats the summary using `d3.csvFormat` and a custom message module. The visualization is rendered as text via React, with the data sourced from a GitHub gist containing named CSS colors.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/27db7bc17ec345a5a27a4ee75c1ff7f4?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}