{"version":"1.0","type":"rich","title":"Margin Convention Example with Bar Chart","description":"The chart displays the top 10 most populous countries in 2020 as horizontal bars, with country names on the y-axis and population on the x-axis. The visualization uses a React component with React Hooks (`useState`, `useEffect`) to fetch and parse the United Nations World Population Prospects 2019 data via `d3.csv`. It applies the D3 margin convention with a `scaleBand` for the vertical axis and a `scaleLinear` for the horizontal axis, rendering SVG `<rect>` elements inside a transformed `<g>` group.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/c35aa83d16da47139e4cce187ea2d2f8?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}