{"version":"1.0","type":"rich","title":"Toggle test","description":"This example demonstrates an interactive bar chart where colored squares can be toggled on and off by clicking on corresponding circles below the chart. The visualization uses D3's `select` and `.join` operations to efficiently update the SVG elements, with a `transition()` on rectangle attributes for smooth animations. The data is a static array of colored bars, and the toggle function adds or removes items from the selected dataset before re-rendering the chart. The rendering uses SVG with full viewport dimensions.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/769510e67a3d4798bb4fb878279e694e?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}