{"version":"1.0","type":"rich","title":"Loading data using D3 and React","description":"This example demonstrates how to load and summarize a CSV dataset using D3 and React. It fetches CSS named colors data via `d3.csv` and stores the parsed result in React state with the `useState` and `useEffect` hooks. While the data loads, the UI displays \"Loading...\"; once available, the preformatted text reports the file size in kilobytes, row count, and column names using the custom `message` utility. The code combines D3's CSV parsing with React's component lifecycle and conditional rendering.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/d19f472f923c44d984a74584b0c47386?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}