{"version":"1.0","type":"rich","title":"The Margin Convention","description":"This example displays a bar chart of the top ten countries by 2020 population, using a horizontal layout where each bar’s length is proportional to the population value. The visualization is built with React, using D3 utilities for data loading and scaling: `d3.csv` fetches the UN Population dataset, while `d3.scaleBand` and `d3.scaleLinear` map countries and populations to SVG rectangles. The SVG output is rendered inside a React component, with margins applied via a translation transform.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/cd0f360c2ef7493188f872efe81d36b5?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}