{"version":"1.0","type":"rich","title":"Loading Data with React and D3","description":"This example demonstrates loading a CSV dataset from a remote URL inside a React component, displaying the data’s file size, row count, and column count as text. Using React hooks (`useState` and `useEffect`), it fetches the data with `d3.csv`, then formats the output with `d3.csvFormat`. The visualization renders as SVG, with the loaded information shown in a large `pre` element, while a loading message appears until the data arrives. It highlights the integration of D3’s data-loading and formatting utilities within a React lifecycle.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/324ae5db8112436d97fb4fc8e1960010?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}