{"version":"1.0","type":"rich","title":"Layout","description":"This example demonstrates a simple window layout with a fixed header and footer, leaving the middle area for content. The code builds the layout using `layout1`, which creates `div` elements for the header, content, and footer, and an SVG element for content rendering. A diamond is drawn with four `line` elements, and its position and size are recalculated on window resize via a `window.addEventListener('resize', ...)` handler. The example uses D3 v7 and SVG, with chaining methods like `addToRender` and `render` to manage the drawing updates.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/9f514ad32df94712a76ca23d51cbe959?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}