{"version":"1.0","type":"rich","title":"Load data with react","description":"This example demonstrates loading a CSV file in a React component and displaying basic statistics about the dataset. It uses the D3 `csv` function to fetch data from a GitHub Gist containing named CSS colors, then shows the file size in kilobytes and the row count. The React hooks `useState` and `useEffect` manage the asynchronous data loading, and the `message.js` module formats the output using `d3.csvFormat`. While data is being fetched, the interface displays a \"Loading...\" message.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/fd487f6398004c42a2ceb2e0226c9b4c?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}