{"version":"1.0","type":"rich","title":"d3js clickable stacked bar chart","description":"This clickable stacked bar chart, forked from Mike Bostock's original and enhanced with an interactive legend, visualizes U.S. state population distributions across seven age groups. Rendered with D3.js as an SVG with animated transitions, the chart sorts states by total population and uses an ordinal x-axis and linear y-axis. Users can click legend items to isolate or toggle display of individual age categories, while hovering over any bar segment highlights it with a stroke and shows a tooltip with the category name and population value. The color scheme distinguishes age groups, and the legend supports selection to filter the stacked bars dynamically.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-023f2092aa5c381e1da9d007c42bc9a3?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}