{"version":"1.0","type":"rich","title":"Loading data for react","description":"This example demonstrates how to load CSV data into a React application using D3 utilities, showing the dataset’s column count, row count, and size in kilobytes. The visualization renders a simple text message via React state, which is initially null and then populated asynchronously after the data fetches. It uses `d3.csv` to parse the external gist-hosted CSS named colors dataset, `useState` and `useEffect` for state management, and `d3.csvFormat` to calculate the data size. The ReactDOM render updates the display once the data arrives.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/e7630cffb4d94f23a8e639195364457f?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}