{"version":"1.0","type":"rich","title":"Load Data in React","description":"This example demonstrates how to load and parse a CSV file in a React application using D3’s `csv` method. It fetches the CSS named colors dataset from a GitHub gist and displays a summary message showing the file size in kilobytes, row count, and column count. The React `useState` and `useEffect` hooks manage the asynchronous data loading, while `csvFormat` calculates the data size. Before the data arrives, a \"Loading....\" placeholder is shown in a large `pre` element.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/0bf596bae55046248b1df1cf53dfa539?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}