{"version":"1.0","type":"rich","title":"New Technique w/ Menu","description":"A bar chart displays average sleep efficiency and exercise frequency by gender, with a dropdown menu to toggle between the two metrics. The visualization uses d3.scaleBand and d3.scaleLinear to construct the axes and bars, while d3.schemeDark2 provides the color palette. The chart refreshes the y-axis labels and bar heights dynamically when the menu selection changes, demonstrating an interactive metric-switching technique built with D3 v7.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/1ab069ca32db4617b48d3c0aafd2efa0?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}