Skip to content
datasquares.aiSign inStart free

Build DashboardsVisual types

Stacked Bar

Comparison · Part-to-whole across categories

Added from Insert on the editor’s rail; configure it in Card settings, in its Data and Format tabs.

Bars segmented by a Series / Color dimension — totals stay comparable across categories while the segments show composition. Best when the total matters more than precise segment comparison.

Well Accepts Notes
X Axis dimension
Values (Y) measures multiple measures = multiple series; each has a quick-calc dropdown
Series / Color dimension splits each value into one series per category value
Small multiples dimension one mini-panel per value (trellis)
Tooltip fields extra fields shown on hover

Click a field in the Fields list, or drop it on the chart, and it goes to the well that fits it — see where a field goes. To choose the well yourself, drop the field on it or use its + Add field.

Measure wells carry a quick-calc dropdown (running total, YoY %, % of total, …); SquareX measures are listed with the fields, under Measures.

  • data labels with percentages
  • series colors per segment

The full panel is described in Charts & formatting.

  • Only the bottom segment sits on a common baseline — if comparing segments across bars is the point, use small multiples instead.