{"version":"1.0","type":"rich","title":"the margin convention","description":"This example shows a horizontal bar chart of the top 10 countries by projected 2020 population, loaded as CSV via D3’s `csv` utility. It demonstrates the margin convention by rendering an SVG with a left offset of 200 pixels, using `scaleBand` for the y-axis and `scaleLinear` for the x-axis, with gridlines from `xScale.ticks()`. React manages the state and renders each `<rect>`, `<line>`, and `<text>` element, while D3 provides the data parsing and scales.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/0139b50ac21046b3a7f79fd01571ee3d?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}