{"version":"1.0","type":"rich","title":"Responding to Resize","description":"This example demonstrates how a visualization can dynamically adjust to its container's size. It uses CSS to make a chart div fill the entire browser window, then extracts the `clientWidth` and `clientHeight` properties on every window resize event. The D3.js v5 code redraws an SVG element to match these dimensions, rendering a large, translucent green X across the full width and height. This simple pattern illustrates a responsive resizing strategy without inventing any complex data transformations or interactions.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/1dfe6e9c7c0e4899a10ba5e143dc1c58?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}