All examples By author By category About

lorenzopub

Stacked-to-Grouped Bars II

This takes the Stacked-to-Grouped Bars one step further by adding a sequenced transition for a normalized stacked bar chart, which shows the values for each column as a percentage rather than absolute numbers. I also added the x-axis since the scale changes for each view.

Modification of chornbaker's block: Stacked-to-Grouped Bars

Originally forked from mbostock's block: Stacked-to-Grouped Bars

Updated for D3 4.0

forked from chornbaker's block: Stacked-to-Grouped Bars II