Skip to content

Instantly share code, notes, and snippets.

@datapixie
datapixie / README.md
Last active September 25, 2017 14:51
An animated normalized stacked barchart.

This is an animated variation of mbostock's normalized stacked barchart. When you click on a block, that block is sent to the bottom of the stack and the bars are reordered by decreasing height of that block. This allows you to compare any value in the stacks with a common baseline, eliminating a common criticism of stacked barcharts.