{"version":"1.0","type":"rich","title":"Pathetic Population Bar Chart","description":"This example displays the top ten countries by 2020 population as a horizontal bar chart, with bar lengths proportional to population size. The chart loads data from a CSV file hosted on GitHub using D3’s `csv` function, then maps the data to SVG rectangles via React’s `useState` and `useEffect` hooks. D3’s `scaleBand` and `scaleLinear` position the bars within a fixed 960-by-500 pixel viewport, while the `max` function determines the scale’s upper bound.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/ec39024300f2497ca58fbf69933ed36b?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}