{"version":"1.0","type":"rich","title":"Histogram Transition","description":"This example shows how a histogram transitions between different weather metrics, such as wind speed and temperature, from a JSON dataset. Clicking the “Change metric” button updates the display, with exiting bars collapsing downward in red, new bars rising in yellow-green, and final bars colored cornflower blue. Built with React and D3 v5, it uses `d3.histogram` to bin data, `d3.scaleLinear` for axes, and D3 transitions with chained `transition().duration()` calls to animate bar height, position, and a dashed mean line. The visualization renders in SVG.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/07c183bcf510412796954c6cc151f9a7?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}