{"version":"1.0","type":"rich","title":"Dynamic Width & Height","description":"This example dynamically sizes a D3.js visualization to fit the full browser viewport. The visualization draws a single rounded rectangle that fills the entire window, with its width and height directly tied to the dimensions of the `document.body` element. The code uses D3's `select` function to grab the SVG element and append the rectangle, setting its `rx` attribute for rounded corners, while CSS positions the body to prevent scrolling. The rendering approach is purely SVG-based, with no external data source.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/964f19e2575d4f45ae4573d406b2c914?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}