Charts / Compare
Stacked vs grouped bars Two ways to show parts over time.
Short answer
Use stacked bars when the total per period matters and the parts make it up. Use grouped bars when you compare the parts with each other, period by period.
Updated Nov 2, 2026 · SaaS sample data
Same 3 plans
The stacks show the total growing from 206 to 285. The groups show that every plan grew, and that Business, small in the stack, grew the fastest: from 22 to 35.
If you ask
Common mistakes Stacked bars The key part on top. Only the bottom part starts from zero. Put the one people compare there.
Too many parts. Past four, stacks turn into stripes.
Grouped bars Too many groups. Many periods × many parts turn into a comb. Use lines.
Totals left to the reader. If the total matters, stack the bars instead.
Other ways to show it Shipments by mode Monthly shipments in K by mode, 2026, stacked around a centre line; October: 47K in total (Road 23K, Sea 10K, Rail 8K, Air 6K). ROAD 46% SEA 28% RAIL 16% OCT · 47K JAN APR JUL OCT DEC Shipments by mode Monthly shipments in K by mode, 2026, stacked around a centre line; October: 47K in total (Road 23K, Sea 10K, Rail 8K, Air 6K). Road 46% Sea 28% Rail 16% Oct · 47k Jan Apr Jul Oct Dec Shipments by mode Month Road (K) Sea (K) Rail (K) Air (K) Jan 14 9 6 2 Feb 13 8 6 2 Mar 16 10 7 3 Apr 19 12 8 3 May 22 15 8 4 Jun 24 17 7 4 Jul 23 19 6 4 Aug 21 18 6 4 Sep 22 15 8 5 Oct 23 10 8 6 Nov 30 10 9 10 Dec 27 9 8 12
Shipments by mode Monthly shipments in K by mode, 2026, stacked around a centre line; October: 47K in total (Road 23K, Sea 10K, Rail 8K, Air 6K). ROAD 46% SEA 28% RAIL 16% OCT · 47K JAN APR JUL OCT DEC Shipments by mode Monthly shipments in K by mode, 2026, stacked around a centre line; October: 47K in total (Road 23K, Sea 10K, Rail 8K, Air 6K). Road 46% Sea 28% Rail 16% Oct · 47k Jan Apr Jul Oct Dec Shipments by mode Month Road (K) Sea (K) Rail (K) Air (K) Jan 14 9 6 2 Feb 13 8 6 2 Mar 16 10 7 3 Apr 19 12 8 3 May 22 15 8 4 Jun 24 17 7 4 Jul 23 19 6 4 Aug 21 18 6 4 Sep 22 15 8 5 Oct 23 10 8 6 Nov 30 10 9 10 Dec 27 9 8 12
Sales by region and category, Q3 Q3 net sales by region: NA 38%, EU 30%, APAC 20%, LATAM 12%; Electronics is 46% of APAC, Apparel 41% of EU. 34% 22% 28% NA 38% 41% 25% 18% EU 30% 22% 46% 18% APAC 20% APPAREL HOME ELECTRONICS BEAUTY Sales by region and category, Q3 Q3 net sales by region: NA 38%, EU 30%, APAC 20%, LATAM 12%; Electronics is 46% of APAC, Apparel 41% of EU. 34% 22% 28% NA 38% 41% 25% 18% EU 30% 22% 46% 18% APAC 20% Apparel Home Electronics Beauty Sales by region and category, Q3 Region Share of sales Apparel Home Electronics Beauty NA 38% 34% 22% 28% 16% EU 30% 41% 25% 18% 16% APAC 20% 22% 14% 46% 18% LATAM 12% 38% 30% 12% 20%
Sales by region and category, Q3 Q3 net sales by region: NA 38%, EU 30%, APAC 20%, LATAM 12%; Electronics is 46% of APAC, Apparel 41% of EU. 34% 22% 28% NA 38% 41% 25% EU 30% 22% 46% APAC APPAREL HOME ELECTRONICS BEAUTY Sales by region and category, Q3 Q3 net sales by region: NA 38%, EU 30%, APAC 20%, LATAM 12%; Electronics is 46% of APAC, Apparel 41% of EU. 34% 22% 28% NA 38% 41% 25% 18% EU 30% 22% 46% 18% APAC Apparel Home Electronics Beauty Sales by region and category, Q3 Region Share of sales Apparel Home Electronics Beauty NA 38% 34% 22% 28% 16% EU 30% 41% 25% 18% 16% APAC 20% 22% 14% 46% 18% LATAM 12% 38% 30% 12% 20%
Monthly card spend Card spend by month, January to September, in $K. September (month to date) is 40K; the highest month is July at 71K. 48K JAN 52K FEB 61K MAR 57K APR 66K MAY 59K JUN 71K JUL 68K AUG 40K SEP MONTH TO DATE CLOSED MONTHS Monthly card spend Card spend by month, January to September, in $K. September (month to date) is 40K; the highest month is July at 71K. 48k Jan 52k Feb 61k Mar 57k Apr 66k May 59k Jun 71k Jul 68k Aug 40k Sep Month to date Closed months Monthly card spend Month Spend JAN $48K FEB $52K MAR $61K APR $57K MAY $66K JUN $59K JUL $71K AUG $68K SEP $40K
Monthly card spend Card spend by month, January to September, in $K. September (month to date) is 40K; the highest month is July at 71K. 48K JAN 52K 61K MAR 57K 66K MAY 59K 71K JUL 68K 40K SEP MONTH TO DATE CLOSED MONTHS Monthly card spend Card spend by month, January to September, in $K. September (month to date) is 40K; the highest month is July at 71K. 48k Jan 52k Feb 61k Mar 57k Apr 66k May 59k Jun 71k Jul 68k Aug 40k Sep Month to date Closed months Monthly card spend Month Spend JAN $48K FEB $52K MAR $61K APR $57K MAY $66K JUN $59K JUL $71K AUG $68K SEP $40K
Questions Can stacked bars show percentages? Yes, scaled to 100% per period, when the mix matters more than the size.
How many parts fit? Two to four in either; past that, group the small ones.
Do both come in every size? Yes. Stacked bars and Grouped bars come in XS, S, M and L, each laid out again for its size, in light and dark.
Do they install the same way? Yes, one command each: npx shadcn add @chartory/stacked-bars and npx shadcn add @chartory/grouped-bars.