{"version":"1.0","type":"rich","title":"The margin convention","description":"A horizontal bar chart displays the top ten countries by 2020 population, ranked by name along the y-axis and population count along the x-axis. The example demonstrates the margin convention by defining equal twenty-pixel margins on all sides and translating a group element accordingly. React manages the component state, while D3 utilities load the CSV data and construct the band and linear scales. The SVG renders each bar as a rect element sized through the scales.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/a3268292fd694bae817debe010126e84?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}