{"version":"1.0","type":"rich","title":"Fork of Marginsdrb","description":"This example demonstrates how margins define the inner rectangle of a visualization, reserving space for axes while constraining the area for marks. It uses D3.js version 7.9.0, specifically the `select` API, to render an SVG that fills the container. The code calculates the inner width and height by subtracting fixed 50-pixel margins from the container dimensions, then draws a gray rectangle (`#B5B5B5`) positioned at those margin offsets. The rendered output is a static filled rectangle, serving as a template for layout structure.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/795ab60099ad42c88b601d8642d0dbfe?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}