{"version":"1.0","type":"rich","title":"Scrol to zoom in and out","description":"This example demonstrates a zoom interaction that progressively reveals or hides concentric circles centered at a fixed point. The user scrolls to zoom the entire SVG group, and as the scale factor decreases, circles become hidden one by one; zooming back in makes them visible again. The code uses `d3.zoom` with an event transform to update the group’s transform and compares the current scale value against the previous one to toggle circle visibility via `d3.select` and attribute changes. The circles are manually defined in a data array with fixed radii and IDs.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/c98bb1a2c37044659d462a24e5a12448?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}