{"version":"1.0","type":"rich","title":"loading data with React & d3","description":"This example demonstrates how to load and summarize a CSV dataset using React and D3. It fetches CSS named color data from a GitHub gist via `d3.csv`, then displays the file size (in KB), row count, and column count as text. The React component uses `useState` and `useEffect` to manage the asynchronous data loading, while the `message.js` module formats the statistics using `d3.csvFormat`. The interface presents a simple loading state before showing the computed metrics, with D3 v5 and React 16 providing the core functionality.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/c1959394c60a4eebbf0f4d93f0633af8?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}