chartscolumn-chartsbar-chartsapi

Overview

Column and bar charts are the most common chart types in business presentations. The pptx.dev API supports single series, clustered, stacked, and 100% stacked variants for both vertical (column) and horizontal (bar) orientations.

Column Chart Types

Chart type Description
COLUMN Single series vertical columns
CLUSTERED_COLUMN Multiple series side by side
STACKED_COLUMN_2X Two series stacked
STACKED_COLUMN_3X Three series stacked
100PCT_STACKED_COLUMN_2X Two series as percentage of total
100PCT_STACKED_COLUMN_3X Three series as percentage of total

Bar Chart Types (Horizontal)

Chart type Description
BAR Single series horizontal bars
CLUSTERED_BAR_2X Two series side by side
STACKED_BAR_2X Two series stacked horizontally
STACKED_BAR_3X Three series stacked horizontally

Example: Revenue by Quarter

{
  "layout": "chart-1x-title-center",
  "content": {
    "heading": "Quarterly Revenue",
    "chart": {
      "type": "COLUMN",
      "categories": ["Q1", "Q2", "Q3", "Q4"],
      "series": [
        { "name": "Revenue ($K)", "values": [320, 480, 540, 620] }
      ]
    }
  }
}

Example: Year-Over-Year Comparison

Use CLUSTERED_COLUMN to compare two years:

{
  "layout": "chart-1x-title-center",
  "content": {
    "heading": "Revenue: 2025 vs. 2026",
    "chart": {
      "type": "CLUSTERED_COLUMN",
      "categories": ["Q1", "Q2", "Q3", "Q4"],
      "series": [
        { "name": "2025", "values": [280, 350, 420, 510] },
        { "name": "2026", "values": [320, 480, 540, 620] }
      ]
    }
  }
}

Example: Stacked Revenue Breakdown

Use STACKED_COLUMN_3X to show how revenue breaks down by segment:

{
  "layout": "chart-1x-title-center",
  "content": {
    "heading": "Revenue by Segment",
    "chart": {
      "type": "STACKED_COLUMN_3X",
      "categories": ["Q1", "Q2", "Q3", "Q4"],
      "series": [
        { "name": "Enterprise", "values": [180, 220, 260, 300] },
        { "name": "Mid-Market", "values": [100, 160, 180, 200] },
        { "name": "SMB", "values": [40, 100, 100, 120] }
      ]
    }
  }
}

Example: Horizontal Bar Chart

Horizontal bars work better when category labels are long:

{
  "layout": "chart-1x",
  "content": {
    "heading": "Customer Satisfaction by Department",
    "chart": {
      "type": "BAR",
      "categories": ["Engineering", "Customer Success", "Sales", "Marketing", "Operations"],
      "series": [
        { "name": "CSAT Score", "values": [92, 88, 85, 82, 79] }
      ]
    }
  }
}

When to Use Each Type

Use case Chart type
Single metric over time COLUMN
Comparing two groups CLUSTERED_COLUMN or CLUSTERED_BAR_2X
Part-to-whole over time STACKED_COLUMN_2X/3X
Percentage composition 100PCT_STACKED_COLUMN_2X/3X
Long category labels BAR or CLUSTERED_BAR_2X

Next Steps

You came for the design. Leave with the deck.

STORYD turns anything in this catalog into a finished, story-driven presentation. Free to start, no card.

See it in a deck →

5 free presentations. Exports to PPTX.