{"version":"1.0","type":"rich","title":"Loading Data with React & D3","description":"This example demonstrates how to load and summarize a remote CSV dataset within a React application, displaying the file size, row count, and column count as text. It uses React's `useEffect` hook to trigger a D3 `csv` request to fetch CSS named colors data from a GitHub gist, then renders the statistics once the data arrives. The implementation relies on React’s state management with `useState`, D3’s `csv` parsing, and a custom `message` module that formats the summary using `d3.csvFormat` and the dataset’s metadata. The visualization presents raw data metrics rather than a graphical chart.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/b4d5ab8204664c0caabf29ce13b651e9?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}