{"version":"1.0","type":"rich","title":"The Margin Convention","description":"This example demonstrates the margin convention in D3 by rendering a horizontal bar chart of UN population data for 2019. The chart displays the top 10 countries by population using SVG rectangles, with scales created via `d3.scaleBand` and `d3.scaleLinear`. A margin object defines the inner plotting area dimensions, and a `<g>` element translates the chart into place. Data is loaded asynchronously from a CSV using `d3.csv`, and the visualization is built with React components and D3 v7.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/f45d3bef3c784a038396029e425c49cc?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}