Stacked-to-Multiples
✓ Published0🌍 Public
AAjayyy
Last edited Jun 14, 2018
Created on Jun 14, 2018
This example shows quarterly data for four groups, toggling between a small-multiples view and a stacked chart. A radio button switches the layout, animating the groups and rectangles with a 750ms transition. The visualization uses D3 v3 with `d3.layout.stack` for stacking, ordinal scales for positioning, and nested data from a TSV file. Each group’s label and rectangles reposition smoothly, highlighting how stacked totals compare to individual group trends.
AI-generated descriptionforked from <a href='http://bl.ocks.org/mbostock/'>mbostock</a>'s block: <a href='http://bl.ocks.org/mbostock/4679202'>Stacked-to-Multiples</a>
gpl-3.0 Licensed