{"version":"1.0","type":"rich","title":"Fork of Responding to Resize","description":"This example demonstrates responsive resizing in a D3.js visualization. A steel-blue diamond, formed by four connected line segments, is drawn to fill the entire browser window. The visualization uses CSS to size a container div to the viewport, and a `redraw` function reads the container's `clientWidth` and `clientHeight` on every window resize event. It then updates the SVG element's dimensions and repositions the diamond's lines with margins, ensuring the shape never extends beyond the visible area.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/d66a0be584b347f0a29455885b3c09b1?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}