{"version":"1.0","type":"rich","title":"Loading Data with React & D3","description":"This example demonstrates loading a CSV dataset into a React application using D3’s `csv` function, displaying file size, row count, and column count as text. The React component uses the `useState` and `useEffect` hooks to manage asynchronous data loading, showing “Loading…” until the promise resolves. The data comes from a remote gist containing CSS named colors. The `message` module formats the summary using `d3.csvFormat` to calculate size in kilobytes.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/b49d2012431e472dafbbce3bcb94bee4?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}