{"version":"1.0","type":"rich","title":"Refactored Bar Chart","description":"This example shows a horizontal bar chart of the top 10 countries by 2020 population, using data loaded from a CSV of UN population figures. The chart renders bars with SVG `<rect>` elements, with a linear scale for the x-axis and a band scale for the y-axis. React components structure the visualization, while D3 utilities like `csv`, `scaleBand`, and `scaleLinear` handle data loading and scaling. Axis components generate tick marks and labels, all within a fixed-width SVG canvas.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/767ac2785b9a40f78c967860c748bea6?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}