{"version":"1.0","type":"rich","title":"Stocks transition","description":"This visualization compares monthly stock price data for several companies across multiple years. It initially renders as a stacked bar chart where each bar represents a company and is subdivided by year, using D3 v4’s stack layout and ordinal color scale. Clicking anywhere on the page triggers a smooth transition: the grouped bars slide into separate columns and reshape into individual bars showing each company’s average yearly price, animated over 800 milliseconds. The SVG-based transition highlights how the data can be viewed either as cumulative contributions or as independent annual values.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-2f4349afb0f791d645e0131ec0d011d3?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}