{"version":"1.0","type":"rich","title":"d3 Updating Bar Chart With Dropdown","description":"A dropdown menu allows a user to select a year from a dataset of module codes, values, and years, triggering an animated update of a stacked bar chart displaying the total value per module. The chart, rendered as SVG, uses d3 transitions to smoothly animate the repositioning and resizing of the stacked bars and their corresponding value labels. The visualization leverages d3's `data.csv`, `scaleBand`, `scaleLinear`, `scaleOrdinal`, and `d3.stack` to process the data and generate the layered bar representation.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/bf473eb88fee494b9b53dec6300fa4de?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}