{"version":"1.0","type":"rich","title":"The Margin Convention","description":"This example displays a horizontal bar chart of the top ten most populous countries for 2020, using a conventional margin layout to offset the visualization from the SVG canvas edges. The application loads its data from a CSV file via `d3.csv`, then uses `d3.scaleBand` for the categorical y-axis and `d3.scaleLinear` for the quantitative x-axis to size the rectangles. React manages the component state and conditional rendering, showing a loading message until the data arrives, while the final chart is drawn as SVG elements within a transformed group.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/90e1f9d9b9404da79eb435ef3b5e0cb7?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}