{"version":"1.0","type":"rich","title":"68. D3 Dynamic Scale","description":"Clicking the text triggers the chart to regenerate with twenty new random values between 0 and 100. The bar chart and its labels then transition smoothly, updating their positions and heights as the y-axis scale recalibrates to accommodate the new maximum value. Using d3.scaleBand for the x-axis and d3.scaleLinear for the y-axis, the code applies staggered transition delays to create a cascading animation effect across all bars.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/dde8ec45db1b46939fadab03393dcfb5?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}