{"version":"1.0","type":"rich","title":"Loading Data with React & D3","description":"This example demonstrates a minimal React application that loads a CSV dataset of CSS named colors from a GitHub gist and displays summary statistics about it. The app uses React’s `useState` and `useEffect` hooks to fetch the data asynchronously via D3’s `d3.csv`, then renders a plain-text message with the file size in kilobytes, row count, and column count using a custom `message` function that leverages `d3.csvFormat`. While the data is loading, the interface shows a \"loading...\" placeholder. The visualization highlights how D3 utilities can handle data loading within a React component’s state management.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/16170ae20c7343439e27883e6b20241a?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}