{"version":"1.0","type":"rich","title":"The margin convention","description":"A horizontal bar chart displays the population of five countries from a CSV file. The chart uses a margin convention to offset the inner plotting area from the SVG canvas edges. React state manages the asynchronous loading of the data via `d3.csv`. The chart is rendered with SVG elements, using `d3.scaleBand` for the categorical y-axis and `d3.scaleLinear` for the continuous x-axis.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/f41af0ddb6e74b7481f49c2f30ef88b3?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}