{"version":"1.0","type":"rich","title":"Rendering Bar Chart with React & D3","description":"This example demonstrates a horizontal bar chart of the top ten most populous countries in 2020, using United Nations population data loaded via `d3.csv`. React manages the component state and renders SVG `<rect>` elements, while D3’s `scaleBand` and `scaleLinear` map country names and population values to pixel positions and widths. The chart updates asynchronously after the CSV fetch completes, showing a loading message until data arrives.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/cea668298f77476ab9e78bbfee409c2b?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}