{"version":"1.0","type":"rich","title":"Loading data with react and d3","description":"This example demonstrates how React and D3 can work together to load and summarize a CSV dataset. It fetches a list of CSS named colors from a GitHub gist using `d3.csv`, stores the parsed result in React state via the `useState` and `useEffect` hooks, and then displays a text summary using `d3.csvFormat` to calculate the file size in kilobytes, along with the row and column counts. While the data loads, the component shows a “Loading...” message. The visualization is minimal, consisting solely of this computed metadata rendered as plain text.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/3133fdd56be2448fb2f4e3b5361a33d1?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}