{"version":"1.0","type":"rich","title":"Margin and Axes","description":"This example shows a horizontal bar chart of population data for ten countries, drawn as an SVG with margins that create space for a left axis and bottom axis. The chart uses React to render the visualization, with D3 v5 providing the scales: a `scaleBand` for the categorical country axis and a `scaleLinear` for the population values. The data is loaded via `d3.csv` from a remote gist, and the custom `AxisBottom`, `AxisLeft`, and `Marks` components generate the tick labels and rectangular bars. The final layout applies `transform` translations to position the axes within the defined margin area.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/ef049c6eaf2f4a36a095e0b7300911bb?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}