Stacked-to-Multiples
✓ Published0🌍 Public
Mmbostock
Last edited Feb 9, 2016
Created on Jan 31, 2013
Four quarterly data series toggle between small multiples and a stacked chart. The animation smoothly shifts the group labels and rectangular bars vertically via `d3.transition()`. The example loads a TSV file with `d3.tsv()`, nests rows by group with `d3.nest()`, and stacks values with `d3.layout.stack()`, while ordinal scales and `d3.svg.axis()` render the SVG output.
AI-generated descriptiongpl-3.0 Licensed