{"version":"1.0","type":"rich","title":"World Population Prospects 2019(margin convention)","description":"This example shows a horizontal bar chart of the top 10 countries by projected 2020 population, drawn from the World Population Prospects 2019 dataset. The visualization displays each country's population as a bar’s length, sorted by value, with a fixed margin convention of 30 pixels on all sides. The code uses React for the interface and D3 v5’s `scaleBand`, `scaleLinear`, and `max` functions to map country names and population values to screen coordinates, rendering the bars as SVG `rect` elements.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/360ac54d566a46edb26ccbd19411dcb5?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}