{"version":"1.0","type":"rich","title":"The Margin Convention","description":"This example demonstrates the D3 margin convention by rendering a horizontal bar chart of the top 10 countries by 2020 population, with a 50-pixel gutter on each side of the SVG canvas. The React app loads data from a CSV file using d3.csv, then uses scaleBand for the categorical y-axis and scaleLinear for the quantitative x-axis. Bars are drawn as SVG rectangles inside a translated group element.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/800e9c8210ab47d6b14974b439ecdaba?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}