{"version":"1.0","type":"rich","title":"Loading Data with React & D3","description":"This example demonstrates how to load and summarize a CSV dataset using React and D3. The visualization displays a text summary showing the data’s file size in kilobytes, row count, and column count, initially showing “Loading…” until the data arrives. The code uses React’s `useState` and `useEffect` hooks to manage data state, and D3’s `csv` function to fetch and parse the remote CSV file, followed by `d3.csvFormat` to calculate the formatted size. The data source is a gist containing CSS named colors.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/7edcf46b4bf74da9967eb3a9f8feee11?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}