Skip to content

Instantly share code, notes, and snippets.

View sergiospagnuolo's full-sized avatar

Sérgio Spagnuolo sergiospagnuolo

View GitHub Profile
sergiospagnuolo /
Created October 10, 2015 01:11 — forked from mbostock/.block
Stacked-to-Grouped Bars

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.