{"version":"1.0","type":"rich","title":"The margin convection","description":"This example displays a horizontal bar chart ranking the top ten countries by population in 2020, using data loaded from a CSV file. The visualization uses React state to asynchronously fetch the data with `d3.csv`, then renders SVG bars whose widths are scaled by a `scaleLinear` and whose positions are set by a `scaleBand`. The chart is framed with margins and uses a `g` element transformed to align the plot area.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/6f502e7825864abc8277c8d37e33903a?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}