# Customer satisfaction (100% stacked bar chart)

> How satisfaction splits each quarter, every row scaled to 100% with the share printed on each segment.

This chart is one Chart-Output API request. Send the request below to `POST https://www.chart-output.com/api/v1/render` with an `Authorization: Bearer <API key>` header and the response is the image. The free plan includes 1,000 renders a month, no card.

- Page: https://www.chart-output.com/gallery/csat-breakdown
- Request as JSON: https://www.chart-output.com/gallery/csat-breakdown/spec.json
- Get a free API key: https://www.chart-output.com/auth/sign-up?ref=gallery-csat-breakdown-md

## When to pick it

Use it to show how a mix shifts over time when the share matters more than the count.

## The data it takes

Columns: Quarter, Satisfied, Neutral, Dissatisfied. 2 to 8 rows. Each row is scaled to 100%, so counts and percentages both work.

## The request

Change the content (title, labels, numbers, KPI values, annotations) and keep the rest.

```json
{
  "type": "bar",
  "width": 560,
  "height": 640,
  "textScale": 1.8,
  "format": "png",
  "devicePixelRatio": 2,
  "legend": {
    "display": true,
    "position": "top",
    "style": "square",
    "fontSize": 13
  },
  "dataLabels": true,
  "data": {
    "labels": ["Q1", "Q2", "Q3", "Q4 to date"],
    "datasets": [
      {
        "label": "Satisfied",
        "data": [72, 75, 78, 81],
        "backgroundColor": "rgba(60, 92, 221, 1)",
        "borderColor": "#ffffff",
        "borderWidth": 2,
        "barPercentage": 0.8,
        "datalabels": {
          "anchor": "center",
          "align": "center",
          "offset": 0,
          "clamp": true,
          "color": ["#ffffff", "#ffffff", "#ffffff", "#ffffff"],
          "font": {
            "size": 19,
            "weight": "700"
          },
          "numberFormat": {
            "suffix": "%",
            "maximumFractionDigits": 0
          }
        }
      },
      {
        "label": "Neutral",
        "data": [18, 16, 14, 12],
        "backgroundColor": "rgba(205, 217, 250, 1)",
        "borderColor": "#ffffff",
        "borderWidth": 2,
        "barPercentage": 0.8,
        "datalabels": {
          "anchor": "center",
          "align": "center",
          "offset": 0,
          "clamp": true,
          "color": ["#1d2640", "#1d2640", "#1d2640", "#1d2640"],
          "font": {
            "size": 19,
            "weight": "700"
          },
          "numberFormat": {
            "suffix": "%",
            "maximumFractionDigits": 0
          }
        }
      },
      {
        "label": "Dissatisfied",
        "data": [10, 9, 8, 7],
        "backgroundColor": "rgba(180, 70, 26, 1)",
        "borderColor": "#ffffff",
        "borderWidth": 2,
        "barPercentage": 0.8,
        "datalabels": {
          "anchor": "center",
          "align": "center",
          "offset": 0,
          "clamp": true,
          "color": ["rgba(0,0,0,0)", "rgba(0,0,0,0)", "rgba(0,0,0,0)", "rgba(0,0,0,0)"],
          "font": {
            "size": 19,
            "weight": "700"
          },
          "numberFormat": {
            "suffix": "%",
            "maximumFractionDigits": 0
          }
        }
      }
    ]
  },
  "options": {
    "indexAxis": "y",
    "plugins": {
      "tooltip": {
        "enabled": false
      }
    },
    "scales": {
      "x": {
        "display": false,
        "beginAtZero": true,
        "grid": {
          "display": false
        },
        "stacked": true,
        "max": 100
      },
      "y": {
        "grid": {
          "display": false
        },
        "border": {
          "display": false
        },
        "ticks": {
          "color": "#1d2640",
          "font": {
            "weight": "600"
          }
        },
        "stacked": true
      }
    }
  },
  "kpiStrip": [
    {
      "label": "Satisfied",
      "value": "81%",
      "color": "#1d2640"
    },
    {
      "label": "Since Q1",
      "value": "+9 pts",
      "color": "#13703f"
    },
    {
      "label": "Dissatisfied",
      "value": "7%",
      "color": "#1d2640"
    }
  ],
  "footer": {
    "left": "Source: post-support survey",
    "borderTop": true
  },
  "header": {
    "title": "Customer satisfaction",
    "subtitle": "Share of survey responses, by quarter",
    "logoUrl": "https://www.chart-output.com/gallery/acme-logo.png",
    "logoHeight": 22
  },
  "theme": {
    "backgroundColor": "#ffffff",
    "textPrimary": "#1d2640",
    "textSecondary": "#4a5368",
    "gridColor": "#e3e7ef",
    "mode": "light"
  }
}
```

## Questions

### How do I make this customer satisfaction chart with my own data?

Paste your numbers into the box on this page and the chart and its request update. To make it from your own workflow, send that request to POST https://www.chart-output.com/api/v1/render with a free API key; the response is the image.

### What data does it take?

Columns: Quarter, Satisfied, Neutral, Dissatisfied. 2 to 8 rows. Each row is scaled to 100%, so counts and percentages both work.

### Can ChatGPT or Claude make this chart?

Yes. Add https://www.chart-output.com/mcp as a custom connector and ask for the chart; its render_chart tool takes this page's request and returns the image, with no API key. Or use "Copy prompt for your AI" on this page.

### What does it cost?

The free plan includes 1,000 renders a month, with no card. Paid plans add more renders and remove the watermark.

### What do I get back?

A finished image: PNG by default, or SVG, WebP or JPEG, and PDF on Pro. Set "format" in the request.
