{"version":"1.0","type":"rich","title":"Fork of Rendering Data with React & D3","description":"This example shows a horizontal bar chart of the top 10 countries by 2020 population from a UN dataset, loaded via `d3.csv`. React state manages the fetched data, while `d3.scaleBand` and `d3.scaleLinear` map country names and population values to SVG rectangles. The visualization renders with React’s declarative JSX, using `d3.max` for the domain and the `useEffect` hook to trigger the asynchronous data load. The bars update on data arrival, replacing a simple loading text.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/16da00888ae741fb8a9557624aa4523e?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}