{"version":"1.0","type":"rich","title":"Rendering data with react","description":"A bar chart displays the top 10 countries by 2020 population, loaded from a UN dataset via `d3.csv`. React's `useState` and `useEffect` manage the asynchronous data fetching, while `d3.scaleBand` positions bars on the y-axis and `d3.scaleLinear` maps population values to widths. The SVG rectangles render through React components, with `d3.max` setting the x-domain.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/5fd315f2d1654b1a9130462261a0862a?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}