{"version":"1.0","type":"rich","title":"The Margin Convention","description":"This visualization displays a horizontal bar chart of the top 10 most populous countries in 2020, using a bar for each nation’s population. Built with React and D3 v6, it loads data from a CSV file via `d3.csv`, then uses `scaleBand` and `scaleLinear` to map countries and population counts to SVG rectangles within a specified margin. The code highlights the \"margin convention\" by offsetting the chart’s group with `translate`, ensuring axes align to the drawing area’s inner bounds.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/859f1400abf24556b46b2189537caaa9?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}