{"version":"1.0","type":"rich","title":"The Margin Convention","description":"This example demonstrates the margin convention for D3 visualizations in a React application. It displays a horizontal bar chart of the top 10 countries by 2020 population from UN data, loaded via d3.csv. The SVG rendering uses d3.scaleBand for the y-axis and d3.scaleLinear for the x-axis, with a margin object defining the inner plotting area. React state manages the async data loading, and the chart updates once the CSV parsing completes.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/966459a34ec64f53900d95259ddec4e1?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}