{"version":"1.0","type":"rich","title":"The margin convention","description":"A bar chart displays the ten most populous countries in 2020, using data from the UN Population 2019 dataset. The visualization demonstrates the margin convention by placing scales and axes inside a translated SVG group, separating the plot area from the chart edges. React manages the component state and renders the SVG, while D3’s `csv`, `scaleBand`, `scaleLinear`, and `max` functions handle data loading, scaling, and axis generation. Tick marks and labels for both axes are generated from the scale domains, with bars sized by population values.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/ba2e989adc3243d4b71b568e0b7df71e?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}