{"version":"1.0","type":"rich","title":"Fork of Pathetic Bar Chart","description":"This example shows the top ten countries by 2020 population as horizontal bars, with bar lengths scaled proportionally to population size. The visualization uses React state to manage data loading and rendering, while D3 utilities load the CSV dataset and compute the scales. Specifically, `d3.csv` fetches the UN population data, `scaleBand` positions each country along the y-axis, and `scaleLinear` maps population values to bar widths on the x-axis. The chart renders as SVG rectangles inside a React component, updating once the data arrives and displaying a loading message beforehand.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/1439263cb5f143ba8dbc429c1557c97b?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}