{"version":"1.0","type":"rich","title":"The Margin Convention","description":"This example demonstrates a simple horizontal bar chart of the top ten countries by 2020 population, using data loaded from a CSV file. The chart applies the margin convention, reserving space around the plot area with a 20-pixel margin on all sides. The visualization uses React state to manage the data and renders SVG rectangles, with scales defined by `d3.scaleBand` for the y-axis and `d3.scaleLinear` for the x-axis. Population values are parsed from the CSV using D3’s `csv` utility.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/d0224a538e4440299dda5ccb96518512?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}