{"version":"1.0","type":"rich","title":"Loading Data with React and D3","description":"This example shows how to load and summarize data about CSS named colors using React and D3. The application fetches a CSV file from a GitHub gist with `d3.csv` inside a `useEffect` hook, storing the result in React state. While loading, it displays “Loading...”, then renders a text summary with the file size in kilobytes, row count, and column count. The code combines React hooks (`useState`, `useEffect`) with D3’s CSV parsing and formatting utilities to bridge data loading and component rendering.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/fa157312cfe248618f214ec1ef06f01e?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}