{"version":"1.0","type":"rich","title":"The Margin Convention","description":"This example shows a horizontal bar chart ranking the ten most populous countries in 2021, using data loaded from a CSV file. The visualization applies the margin convention to position the chart within an SVG canvas, with a band scale for country categories and a linear scale for population values. React manages the component state and renders the rectangles, while D3’s `csv` utility fetches and parses the data. The chart displays population sizes proportionally, with country names on the y-axis.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/602c51e32c2a405ba23c6e34fc5a99ae?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}