{"version":"1.0","type":"rich","title":"dv.16 - d3 & react: loading data","description":"This example demonstrates how to combine React and D3 for asynchronous data loading. The app fetches a CSV file containing CSS named colors from a GitHub gist, then displays a summary of the loaded data—its size in kilobytes, row count, and column count—in large text. The React `useState` and `useEffect` hooks manage the loading state, while the D3 `csv` function handles the network request and parsing. D3’s `csvFormat` calculates the data size for the message.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/dd5d1bc893b848a980b21c9bd588f63f?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}