{"version":"1.0","type":"rich","title":"A bar chart that adds data with mouse-click","description":"Clicking the text updates a bar chart with a new random dataset. The bars and their value labels smoothly transition to reflect the new data, with the y-scale dynamically adjusting to the maximum value. The chart is rendered as an SVG using D3 v5, and the update is driven by a `d3.select(\"p\").on(\"click\")` handler, using `transition().delay()` and `ease(d3.easeCubicInOut)` for animation. The y-axis uses a linear scale while the x-axis uses a band scale.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/177062b8f4204867851ad0c74bd66c98?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}