Switch between stacked and grouped layouts using sequenced transitions! Animations preserve object constancy and allow the user to follow the data across views. Animation design by Heer and Robertson. Colors and data generation inspired by Byron and Wattenberg.
forked from mbostock's block: Stacked-to-Grouped Bars
Updated for D3 4.0
forked from chornbaker's block: Stacked-to-Grouped Bars
https://d3js.org/d3.v4.min.js