{"version":"1.0","type":"rich","title":"Fork of Margins","description":"This example demonstrates the role of margins in defining the plotting area. A blue rectangle is drawn as the inner region, with axes positioned along its bottom and left edges. The code uses D3’s `scaleLinear` to map data values to pixel coordinates, and `axisBottom` and `axisLeft` to render the tick marks and labels. The visualization is created with an SVG container, where the rectangle’s dimensions and axis placements are computed from the margin values.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/1e22f9a40392494da45914fc1fc12113?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}