add stacked-to-grouped graph

copy and paste example code from http://bl.ocks.org/mbostock/3943967