{"version":"1.0","type":"rich","title":"Grouped Bar Chart Toggle Series","description":"A grouped bar chart displays population counts by age range for six U.S. states, with each state’s bars color-coded by age group. Clicking a legend item toggles that age series on or off, triggering animated transitions that collapse the hidden bars to zero width and re-space the remaining bars using updated d3.scaleBand domains. The visualization uses D3 v4 with SVG rendering, d3.csv for data loading, d3.axisLeft for the y-axis, and transition methods to animate bar resizing and axis updates.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-64a6c1892d1893009d2b99b8abee75a7?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}