{"version":"1.0","type":"rich","title":"Loading data with React & D3","description":"This example demonstrates how to load external CSV data within a React application using D3 utilities, showing the data as raw text in the browser. The code uses React’s `useState` hook to store the fetched dataset and `useCallback` for memoization, while D3’s `csv` and `csvParse` functions handle parsing the remote CSV file, which contains named CSS colors. The app renders a simple message displaying the parsed data object instead of a chart, highlighting the initial data-loading pattern rather than visualization.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/d0afb61896434194b090417741b17d53?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}