{"version":"1.0","type":"rich","title":"Loading Data with React + D3","description":"This example shows a horizontal bar chart of the top 10 countries by 2020 population, rendered as SVG. It demonstrates loading CSV data with `d3.csv` and managing the asynchronous result through React’s `useState` and `useEffect` hooks. The chart uses `scaleBand` for the y-axis and `scaleLinear` for the x-axis, with `max` calculating the domain. A loading state is displayed until the data arrives from the provided UN Population CSV URL.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/152c429609844762ba682028228f2f6c?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}