{"version":"1.0","type":"rich","title":"Dynamic Size Example","description":"This example demonstrates a responsive SVG visualization that adapts to the browser window’s size. It uses D3 v4 to generate an SVG element whose width and height are dynamically recalculated via `clientWidth` and `clientHeight`, then draws two crossed lines to visually confirm the dimensions. The redraw function is triggered once on initialization and again whenever the window resizes, using `d3.select` and SVG line attributes to update the graphic in real time.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/3d980e4b2eb14fef91ea46dfc76924ee?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}