Tabley
Language

Stacked bar chart

A stacked bar chart maker for parts inside a total

A stacked bar shows two things at once: how large each category’s total is, and how that total is split. The whole bar is the sum. The colored bands are the parts. Use it when both the sum and the recipe matter. If you only care which category is larger, a plain bar chart is easier to read. This page stacks up to four series and exports PDF, PNG, or JPEG.

How to stack without hiding the parts

Each row is one stacked bar. Each series is one band, in the same order on every bar. Name the series before you fill numbers, because the legend is the only key to the colors. Keep the series in a stable order, such as shop, web, and phone, so the eye can follow one color across the months. Changing the order from bar to bar makes the chart look like a mistake.

The height of the bar is the sum of the bands. A negative number stacks downward from zero, which is useful for a loss beside a gain and confusing if you did not mean it. Check the sign before you export. Sort by value ranks the bars by their total. Leave the sort off when the horizontal axis is time. Months should stay in calendar order even if March was smaller than February.

Value labels on a stack often collide. Turn them on only when there are few bars and the bands are thick enough to hold a number. Otherwise let the axis and the legend do the work. The grid helps a reader estimate the total height. Axis titles should say what the height means. Units, dollars, or hours belong on the Y axis, not only in the title.

Color neighboring bands so they separate. A light band between two dark ones is easier to track than three close blues. Do not use color to also mean a second idea, such as good and bad, unless that idea is the series itself. The background should be plain. A tinted background reduces the number of colors the bands can use.

A stacked bar is a poor way to compare a middle band across categories, because the bands do not share a baseline. If that middle series is the real question, switch to a grouped bar chart on the bar chart page. If the running effect of each change is the question, switch to the waterfall chart. Export PDF for print, PNG for screens, and JPEG when you must. Replace the sample sales figures before the file leaves your browser. The chart is not uploaded.

All tools

The table maker is still here. These charts are for the picture of the same numbers: parts, trends, spread, and rank. Open any chart, change the sample, and download PDF, PNG, or JPEG.