{"version":"1.0","type":"rich","title":"Loading data into React","description":"This example demonstrates how to load and summarize a CSV dataset within a React application using asynchronous JavaScript. The App component fetches data from a remote URL via the `fetch` API inside a `useEffect` hook, then parses it with D3’s `csv` function. Once loaded, it displays the file size in kilobytes, row count, and column count using a custom message module. While waiting for the data, the interface shows a “Loading…” placeholder. The visualization combines React hooks (`useState`, `useEffect`) with D3's data parsing and formatting methods (`csvFormat`).","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/18710566f2424f86a450935103452c5c?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}