{"version":"1.0","type":"rich","title":"The Margin Convention","description":"This example demonstrates a horizontal bar chart of the top 10 most populous countries using UN population data from 2019. It applies the margin convention by defining a margin object and translating the chart group accordingly, ensuring axes and labels have space. The visualization uses React for component rendering and D3 v7 APIs including `scaleBand`, `scaleLinear`, and `max` to map data to SVG rectangles. Populated via `d3.csv`, the chart updates when data loads, with the SVG sized to the full window.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/c8ab1af28f0048929de8730fc487a0f5?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}