{"version":"1.0","type":"rich","title":"Fork of Responding to Resize","description":"This example demonstrates how an SVG visualization can respond dynamically to browser resizing by reading the container’s computed CSS dimensions and applying them to the drawing. It renders a simple green X composed of two diagonal lines using `d3.select` and `data` binding, with the `redraw` function called on the `window` `resize` event. The chart container uses fixed positioning, and the SVG size is updated via the `attr` method based on `clientWidth` and `clientHeight`, ensuring the graphic always fills the page.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/d0b1cc6b644e427fbbea5621c2781206?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}