{"version":"1.0","type":"rich","title":"4. Loading Data with React and D3","description":"This example demonstrates how to load and summarize CSV data in a React component using D3. It fetches a remote dataset of CSS named colors via `d3.csv`, stores the result in React state with the `useState` and `useEffect` hooks, and displays a text summary of the file size, row count, and column count. The rendering uses ReactDOM to mount the component, while `d3.csvFormat` calculates the data size in kilobytes. The visualization is purely textual, showing a loading message until the data arrives.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/1d597e5e43914cf996a9e66e9671e1bd?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}