Segmented Bar Chart Maker

A segmented bar chart — also called a stacked bar chart, stacked bar graph, divided bar chart, or stacked column chart — divides each bar into color-coded sections that represent sub-categories. The full bar height shows the total for each group while the segments reveal how that total breaks down. Use AECharts to build segmented bar charts from your Excel or Google Sheets data for revenue breakdowns, budget analysis, and survey results.

Segmented bar chart example showing stacked composition across categories

How to Create a Segmented Bar Chart

1

Select the segmented bar chart type

Open the AECharts editor and select Bar Chart from the chart type picker, then enable stacked mode. If you want a different visual style, browse the template explorer on the right panel and click any template to apply it instantly.

2

Enter your data

Click "Edit Data" in the top-right corner to open the spreadsheet. The first column holds your category names — each row becomes one bar. Additional columns are your segments — each column adds one stacked layer to every bar. Import directly from Excel or Google Sheets, or upload a CSV or Excel file.

3

Adjust styling

Use the top menu bar to customize the look. Assign a color to each segment and it will stay consistent across all bars. Adjust bar width, stroke color, and stroke width. Switch between standard stacked mode (shows totals and composition) and 100% stacked mode (normalizes all bars to show proportions only) with one click. The usual label, tick, axis, and grid options including font, size, and color are all available. Every change previews instantly.

4

Export

When you're ready, export as PNG, JPEG, PPTX, or MP4. Drop into slides, reports, or share directly.

Segmented Bar Chart Maker Features

Easy Data Import

Import directly from Excel or Google Sheets. First column is the category; each additional column is one segment. AECharts builds the stacked chart automatically.

Multiple Segments

Up to 5 segments per bar with distinct colors and a legend. Each segment is labeled and sized proportionally to its value.

Custom Colors & Fonts

Assign colors to each segment and match your brand palette. Adjust fonts, backgrounds, and label styles.

Stacked & 100% Stacked Modes

Switch between standard stacked (shows totals) and 100% stacked (shows proportions only) with one click.

Export for Any Format

Export as PNG, JPEG, PPTX, or MP4. Works in PowerPoint, Google Slides, and reports.

Real-time Preview

See every change instantly. What you see in the editor is exactly what exports.

When to Use a Segmented Bar Chart

Segmented bar charts are best when you want to show both totals and how each total breaks down, composition and magnitude in one view.

Revenue by Product Line

Each bar = one quarter. Segments = product lines. Bar heights show total revenue growth while segment widths show how the mix shifts.

Survey Results by Demographic

Each bar = one demographic group. Segments = response options. Compare composition across groups without needing multiple charts.

Budget by Department

Each bar = one year or period. Segments = departments. See total budget changes and how allocation shifts over time.

Traffic by Channel

Each bar = one month. Segments = channels (organic, paid, direct). Total traffic and channel mix visible in one chart.

Headcount by Team

Each bar = one quarter. Segments = teams or functions. Show hiring growth and how the org structure evolves.

Cost Breakdown

Each bar = one period. Segments = cost categories. Show total cost trends alongside how the breakdown changes.

Segmented vs Grouped Bar Chart

Both show multiple data series, but they answer different questions.

Segmented (Stacked) Bar Chart

Best for: Showing totals and composition. What is the total, and how does it break down?

Strength: Readers see both the size of each segment and the overall total in one glance.

Use when: Revenue by product line, budget by department, demographic breakdowns.

Grouped Bar Chart

Best for: Comparing individual values. Is Sales higher in Q1 or Q3?

Strength: Precise comparisons. Readers gauge exact differences without mental arithmetic.

Use when: Financial analysis, performance reviews, before/after data.

AECharts supports both modes. Switch between stacked and grouped with one click.

Frequently Asked Questions

Create Your Segmented Bar Chart Today

Import your data, pick a template, and export in under a minute. Free to start, no credit card required.