{"version":"1.0","type":"rich","title":"The Margin Convention","description":"This example presents the top 10 most populous countries as a bar chart, deliberately omitting axes and labels to highlight the importance of margins in visualization layout. Built with React and D3 v5, it uses `scaleBand` for the y-axis positioning and `scaleLinear` for bar widths, with data from the United Nations World Population Prospects 2019. The SVG rendering applies a 20-pixel margin on all sides via a translated `<g>` element, demonstrating how padding frames the chart area. The visualization intentionally looks incomplete to emphasize that proper margins are a foundational convention for readable charts.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/7a47b4ffd41747009d7e445dd2fdc30b?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}