Se ahorraron cientos de horas de procesos manuales al predecir la audiencia de juegos al usar el motor de flujo de datos automatizado de Domo.
Horizontal Stacked Bar Chart: What It Is and When to Use It

A horizontal stacked bar chart shows both category totals and category internal composition in a single view. Long labels? No problem. Stakeholders want to know what's biggest and what it's made of? This chart handles both. In this guide, we'll cover when to reach for this type of chart, how to read it without fooling yourself, the pitfalls that trip up even experienced analysts, and step-by-step instructions for building one in Excel.
Key takeaways for horizontal stacked bar charts
A horizontal stacked bar chart places categories along the vertical axis with bars extending horizontally, each bar divided into colored segments representing different data series. The total bar length shows the aggregate value for each category. The segments reveal how that total breaks down.
Here's what you need to know before choosing this chart:
- Use this chart when: You want to show both category totals and their internal composition. It's especially good when category labels are long enough to benefit from horizontal orientation and you need a stakeholder-ready view that answers, "What's biggest?" and "What's it made of?"
- Choose a different chart when: Your goal is comparing a single segment's value across categories, or when you have more than five or six segments.
- Primary decision this supports: Identifying which categories contribute most to a total and understanding how their internal mix differs, without needing a long walkthrough from a BI analyst.
- Most common misuse: Assuming viewers can accurately compare non-baseline segments across categories. They can't.
- Best alternative if this fails: A grouped bar chart (also called a clustered bar graph) works better when segment-to-segment comparison matters more than totals.
What's a horizontal stacked bar chart?
Categories run along the vertical axis. Values extend horizontally. Each bar gets divided into colored segments representing subcategories or series, with the total bar length showing the aggregate value and segment lengths revealing each component's contribution.
A few terms help clarify the structure:
- Category axis (vertical): Lists the items being compared, such as regions, products, teams, or sales territories.
- Value axis (horizontal): Shows the numeric scale used to measure the data.
- Segments: The colored portions within each bar, each representing a data series (like channel, expense type, or deal stage).
- Stack order: The sequence in which segments appear, typically consistent across all bars.
You might see "segmented bar chart" and "compound bar chart" used as synonyms in some tools. The horizontal orientation gets chosen over a vertical stacked column chart when labels are long or when the layout fits better in wide dashboards.
Unlike a grouped bar chart where segments sit side by side with a shared baseline, stacked bars layer segments end to end. You sacrifice direct segment comparison for a cleaner view of totals.
When to use a horizontal stacked bar chart
Your audience needs to see totals and composition in a single view. Your category labels run longer than a few words. This chart fits. If they need to compare one specific segment across categories? It does not.
Certain conditions make this visualization effective:
- Totals and composition both matter: Budget by department works well when you want to see total spend and the breakdown by expense type.
- Category labels are long: Product names, campaign titles, or regional descriptions would be truncated or rotated in a vertical chart.
- You have three to five segments: Enough detail to show meaningful composition without overwhelming the color palette.
- Comparison focus is on the first segment or the total: The baseline segment and total bar length are the only values viewers can compare accurately across categories.
We often see dashboards fail because designers try to pack eight or nine segments into a single bar. Viewers stop trying to decode the colors. Limiting the chart to four segments and grouping the rest into an "Other" category restores readability immediately.
This is where so many ad hoc reporting requests originate. A sales, marketing, finance, or operations manager sees a stacked bar in a deck, then asks for the same breakdown by region, by team, by week, and by product. If you don't have a reusable dashboard component (or at least a consistent template), a BI specialist ends up rebuilding the same view again and again.
Other scenarios work against this chart type. When segment-to-segment comparison is the goal, viewers will misjudge relative sizes of non-baseline segments because they lack a common reference point. Use a grouped bar chart instead. With more than six segments, colors start to blur and the legend takes over. Consider small multiples (a grid of the same chart repeated by segment) or a different breakdown. When data includes negative values without a divergent design, standard stacked bars assume all values are positive. When time-series analysis is the purpose, stacked bars obscure trends because segment positions shift as values change.
Keep stack order consistent across all bars so viewers can track segments by position.
Data requirements for a horizontal stacked bar chart
The chart is only as clear as the data behind it. If the segments are defined inconsistently across teams, or the totals don't reconcile to governed metrics, you get the dreaded meeting, asking "why doesn't this match my number?" Gartner research shows poor data quality costs organizations $12.9 million per year on average.
Here's the minimum the data needs to behave well in a horizontal stacked bar chart:
- A stable category field: One row per category (region, product, team). No duplicates unless you mean to aggregate.
- A segment field with clean labels: Segment names should be mutually exclusive (each record maps to one segment) and consistent (no "Paid Search" vs "Paid search" vs "pay-per-click (PPC)") after data cleansing.
- A numeric measure that aggregates cleanly: Most stacked bars use sum (revenue, cost, tickets). If you stack averages or rates, you usually need a weighted approach, otherwise the totals can mislead.
- A clear metric definition: If "pipeline" means different things across departments, the segments can look correct while the total tells a different story. This is where an IT or data leader will push for standardized definitions and one version of the truth.
- Explicit handling of missing segments: Decide whether missing means zero or unknown. If Category A has no values for Segment C, be deliberate about how the chart treats that gap.
For dashboards that refresh on a schedule, data engineers typically prep the dataset so category and segment fields map cleanly to the stacked logic. Forrester reports that nearly a third of analysts spend more than 40 percent of their time vetting and validating data before it can support decisions. That prep work matters even more when stakeholders request a new segmentation dimension.
How to read a horizontal stacked bar chart
Total bar length grabs attention first. Then the eye moves to the baseline segment. Finally, color patterns. Viewers compare bar lengths across categories before examining internal composition.
Following a specific sequence ensures accurate interpretation:
- Compare total bar lengths to identify which categories are largest overall.
- Look at the baseline segment (leftmost) to compare that series across categories.
- Observe color proportions within each bar to assess composition.
- Resist comparing middle or trailing segments across categories. Their starting points differ, making visual comparison unreliable.
Even experienced analysts fall into predictable traps. Floating segments look equal when they're not. A segment that appears the same width in two bars may represent different values if the preceding segments differ. Color proximity creates false groupings (adjacent segments in similar colors may be mentally grouped, distorting perceived composition).
In a normalized, or 100 percent stacked, version, all bars are the same length, so totals are hidden. Viewers may forget they're seeing proportions rather than absolute values.
Large baseline segments and significant total differences represent the signal. Small variations in middle segments? Often noise. You'll notice this pattern show up repeatedly in executive presentations where someone insists two middle segments are clearly different when the data says otherwise.
Horizontal stacked bar chart variants
Variants exist to solve specific problems the standard version can't handle.
100 percent stacked bar chart
All bars are normalized to the same length, showing only proportions. This works when comparing composition across categories of vastly different totals (like market share by region regardless of region size). You lose absolute values entirely. Viewers can't see that one category is ten times larger than another.
Teams frequently discover that switching to a 100 percent stacked bar chart makes executives worry about a "massive drop" in a specific segment. The segment value actually grew, but the overall category grew faster, shrinking its relative percentage. Always include absolute values in data labels or tooltips when using normalized charts.
Divergent stacked bar chart
Bars extend in both directions from a central baseline. This is typically used for Likert scale data or any dataset with positive and negative values. Survey responses ranging from strongly agree to strongly disagree benefit from this layout. Profit and loss breakdowns work well too. It requires careful color coding (often two hues diverging from neutral) and a clear legend.
Stacked column chart
Same logic, but bars run vertically. Choose vertical when category labels are short and the layout is portrait-oriented.
Grouped bar charts (clustered bar graphs) place segments side by side rather than stacking. This enables direct segment comparison at the cost of losing the total-at-a-glance view.
How to create a horizontal stacked bar chart in Excel
Excel expects a specific table layout. The first column must contain category labels. Subsequent columns contain values for each segment. Each row represents one category, and each column after the first represents one segment.
| Region | Product A | Product B | Product C |
|---|---|---|---|
| North | 120 | 80 | 50 |
| South | 90 | 110 | 60 |
| East | 70 | 95 | 85 |
| West | 130 | 70 | 40 |
| Central | 100 | 100 | 55 |
Follow these steps to build the chart:
- Select the data range including headers.
- Go to Insert, then Charts, then Bar Chart, and select Stacked Bar (not Clustered Bar).
- Excel renders a horizontal stacked bar chart with categories on the vertical axis.
- To switch to 100 percent stacked, right-click the chart, select Change Chart Type, and choose "100% Stacked Bar."
- Adjust colors via Format Data Series to ensure segments are distinguishable.
- Add data labels if segment values need to be explicit by right-clicking the series and selecting Add Data Labels.
Validation and common errors
Run a quick validation check. Sum the segment values for one category manually and confirm the total bar length matches expectations on the axis. If totals don't align, check for hidden rows or filtered data.
One frequent build error involves selecting non-contiguous ranges or including a total column in the data. Excel treats the total as another segment, doubling the visual length. Exclude any pre-calculated totals from the selection.
Building divergent stacked bars in Excel requires manual workarounds involving negative values and careful axis formatting. For ongoing dashboards with scheduled refreshes, BI tools like Domo handle updates automatically and offer more flexible formatting. Domo supports horizontal stacked bar charts natively, with drag-and-drop configuration and automatic updates as underlying data refreshes. BI analysts can build a horizontal stacked bar chart once, then reuse the same configuration across multiple dashboards. No more rebuilding the same segmented view every time a new stakeholder asks for it.
Making better decisions using Domo
For line-of-business (LOB) managers and business people who build their own reports, interactivity is the difference between "cool chart" and "I can make a decision." In Domo, teams can filter and drill into the data behind a horizontal stacked bar chart (for example, by date range, region, or product line) without waiting on an analyst. And if someone prefers to just ask the question out loud, Domo's AI chat and natural language query features can help them get answers from the underlying data without manually reconfiguring the visualization.
On the governance side, Domo's semantic layer and centralized controls help IT and data leaders standardize the metrics feeding stacked bars, so the same breakdown tells the same story across departments. Data engineers can also use Magic Transform (SQL-based and no-code options) and automated extract, transform, load (ETL) or extract, load, transform (ELT) workflows to prep and refresh the category and segment fields that make stacked bars behave.
If you want to build horizontal stacked bars once and keep segment definitions consistent, Domo can help. Join the Domo community.
Limitations of horizontal stacked bar charts and when to use alternatives
Only the baseline segment and the total are reliably comparable across categories. For the rest, treat comparisons as rough estimates. Middle segments are hard to compare because viewers can't accurately judge whether segment B is larger in Category 1 or Category 2 when the starting points differ. After five or six segments, colors blur together and the legend becomes a cognitive load. Without a divergent design, negative segments have nowhere to go.
If your organization has multiple teams building their own versions of the same segmented metric, you can also run into a consistency problem. Two dashboards can show the same categories and segments but use different filters or definitions under the hood. The chart looks familiar. The story changes completely.
| Scenario | Better alternative | Why |
|---|---|---|
| Compare one segment across categories | Grouped bar chart | Shared baseline for all segments |
| Show change over time | Line chart or stacked area chart | Position encodes time; slope shows trend |
| Display proportions without totals | 100 percent stacked bar | Normalizes for comparison |
| Handle positive and negative values | Divergent stacked bar or waterfall chart | Accommodates bidirectional data |
A quick gut-check during a presentation: Ask the audience which middle segment is largest across all bars. If they hesitate or guess incorrectly, the chart is failing. (Entire quarterly reviews have been derailed by this exact confusion.)




