{"version":"1.0","type":"rich","title":"Margin Converntion","description":"This example displays a horizontal bar chart of the top 10 countries by 2020 population, drawn with SVG rectangles. The code loads the dataset with `d3.csv`, uses React state to manage the data, and applies the margin convention by translating an inner group. `d3.scaleBand` and `d3.scaleLinear` position the bars, while `max` scales the width axis.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/53b4d12f8f7e4433be84e01a815a5f41?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}