Stacked Bar Chart Maker: Show Totals and Their Parts

This free stacked bar chart maker piles your series into one bar per category, so each bar shows a total and its segments show the parts. You need no signup to make or download one.

Stacked bar chart titled Units sold by plan, with one bar per quarter split into Basic, Plus and Pro segments. The bars rise from 240 units in Q1 to 380 units in Q4. 0 100 200 300 400 Q1 Q2 Q3 Q4 Basic Plus Pro Units sold by plan chartjuice.com

How to use this stacked bar chart maker in 3 steps

  1. The Data tab in Chartjuice, with Upload file and Paste data beside a stacked bar chart
    1

    Add a label column and a number column for each part

    Type over the sample in the table under the chart, or click Paste data or Upload file. The first column names the bars. Every number column after it becomes one segment of the stack.

  2. The Style tab in Chartjuice, open beside a stacked bar chart
    2

    Choose Stacked or 100%

    Open the Style tab and expand Bar options. Multiple series has three settings: Side by side, Stacked and 100%. The sample is on Stacked. Direction switches between Columns and Bars.

  3. The Download menu in Chartjuice: PNG at 1x, 2x or 4x, SVG and Copy image
    3

    Download it

    Click Download for a PNG at 1x, 2x or 4x, or an SVG. Copy image puts the chart on your clipboard for a slide or report.

What a stacked bar chart shows

A stacked bar chart answers two questions with one bar: how much in total, and how much from each part. The sample counts units sold per quarter on three plans. The Q1 bar is 240 units tall, made of 120 Basic, 80 Plus and 40 Pro. By Q4 the bar reaches 380.

Totals are easy to compare, because every bar starts at zero. So is the bottom segment, Basic. Plus and Pro float on top of whatever is under them, so their sizes are harder to compare from bar to bar.

This page is the Chartjuice bar graph maker opened on a stack. It is the same designer with the same options.

Stacked or 100% stacked?

Multiple series, under Bar options in the Style tab, decides it:

Setting Bar height Question it answers
Stacked The total Did the total grow, and which part grew it?
100% Always the same Did the mix change?

The sample shows why the choice matters. On Stacked, Basic grows every quarter, from 120 units to 160. On 100%, its share falls from 50% to 42%, while Pro climbs from 17% to 24%. Both are true. One chart shows growth and the other shows a shift toward Pro.

To print the numbers, expand Value labels and turn on Show values on the chart, then set Position to Inside so each number sits in its own segment. Two things need fixing after that:

  • Label color. The labels are dark, and so are the first two default colors, so the numbers in the Basic and Plus segments are hard to read. Change the color under Text to white, or pick a lighter palette under Colors.
  • Room. In a test at the default size, with the axis running to 400, a 14-unit segment just held its number and a 6-unit segment was thinner than its label.

On 100% the labels are percentages and can run to three decimals (47.368%), so set the decimals under Number format to 0 dp. There is no label for the total on top of a bar.

Order the stack

Segments stack in the order of your number columns. The first column sits on the axis and the last is at the top. With Direction on Bars, the first is at the left. The key lists them in the same order.

Put the series you most want compared in the first number column, since it is the only one with a flat baseline. If the parts have a natural order, like Basic, Plus, Pro, keep it. Chartjuice follows your column order and has no setting to reorder the series, so arrange the columns in your spreadsheet before you paste.

To reorder the bars, add a Sort step on the Data tab. It sorts by one column, high to low or low to high. Leave quarters and months in date order.

When grouped bars read better

Stacking suits parts that add up to something. Skip it when:

  • the series are not parts of one total, such as this year and last year. Their sum means nothing, so draw them side by side with the double bar graph maker;
  • readers need to compare the middle segments exactly;
  • there are more than five or six segments, and the small ones shrink to slivers.

For a single series there is nothing to stack. The column chart maker opens on plain bars.

Ask AI to set it up

Click Ask AI and type something like "make it 100% stacked and show the values". The assistant changes the same settings you would by hand, so you can adjust anything afterward. It sees your column names and a small sample of the rows, not the whole file.

Everything you need to make a stacked bar chart

  • Upload a file

    Drop in a CSV, TSV, XLSX, XLS or ODS file, or paste a table from Excel or Google Sheets. The file is read in your browser and never uploaded.

    The Paste data dialog in Chartjuice with a table pasted from a spreadsheet
  • Looks good out of the box

    Each segment gets its own color, with a key under the chart and a rounded top on each bar. Pick another preset palette under Colors, or save your brand colors with Pro.

    The Colors section in Chartjuice with preset palettes, open beside a stacked bar chart
  • Design with AI

    Ask for a 100% stack, horizontal bars or value labels in plain English, then fix anything by hand. A free account gets 3 tries, and Pro gets 50 messages a day.

    See what the AI graph maker can do

    The Chartjuice AI assistant editing a stacked bar chart from a plain-English request
  • Download PNG or SVG

    Download a PNG at 1x, 2x or 4x, optionally transparent, or an SVG. Free downloads carry a small, faint "chartjuice.com" in the bottom-right corner, and Pro removes it.

    A stacked bar chart downloaded from Chartjuice as a PNG

Frequently asked questions

What is a stacked bar chart?

A bar chart where each bar is split into colored segments, one for each series. The full bar is the total and each segment is one part of it, like units sold on each plan in a quarter.

How do I make a 100% stacked bar chart?

Open the Style tab, expand Bar options and set Multiple series to 100%. Every bar becomes the same height, and each segment shows its share of that bar.

How do I change the order of the segments?

Change the order of the number columns in your data. The first number column is drawn at the bottom and the last at the top. Chartjuice has no separate control for series order.

Can I show the total on top of each bar?

No. Value labels show the number for each segment, not the total. If readers need the totals, add them to the bar names or the subtitle.

Can I ask Claude or ChatGPT for a stacked bar chart?

Yes. Connect an AI assistant to Chartjuice once, then paste your table and ask in plain words for stacked bars, or for 100% stacked bars to compare shares. The chart is saved to your account and opens in the editor, where you can change it by hand.

Is the stacked bar chart maker free?

Yes. Making and downloading stacked bar charts is free and needs no account. A free account saves up to 5 charts. Pro, at $12 a month or $120 a year, removes the chartjuice.com mark and saves your brand colors (see pricing).

Want the full tour? Read how Chartjuice works.

Keep your stacked bar charts in a free account

You can make and download a stacked bar chart without signing up. A free account saves your charts so you can update the numbers next quarter.