{"version":"1.0","type":"rich","title":"Loading Data with React & D3","description":"This example demonstrates how to load and summarize CSS named colors data from a remote CSV file using D3’s `csv` utility within a React application. It shows the dataset’s size in kilobytes, row count, and column count, initially displaying “Loading...” until the data arrives. The code uses React’s `useState` and `useEffect` hooks to manage state and trigger the asynchronous data fetch, then formats the summary with custom JavaScript. The underlying data comes from a gist containing named color values.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/937e6b01ee554f31b597cbbd009ad877?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}