# LTV vs CAC by channel (grouped horizontal bar chart)

> What a customer is worth beside what they cost to win, for each channel, with the ratio in the strip.

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/ltv-vs-cac
- Request as JSON: https://www.chart-output.com/gallery/ltv-vs-cac/spec.json
- Get a free API key: https://www.chart-output.com/auth/sign-up?ref=gallery-ltv-vs-cac-md

## When to pick it

Use it to compare what a customer is worth with what it costs to win them, channel by channel.

## The data it takes

Columns: Channel, LTV, CAC. 2 to 6 rows. Both in dollars per customer.

## 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": ["Referral", "Organic", "Paid search", "Outbound"],
    "datasets": [
      {
        "borderWidth": 0,
        "borderRadius": 3,
        "barPercentage": 0.92,
        "categoryPercentage": 0.8,
        "label": "LTV",
        "data": [4100, 3200, 2400, 2900],
        "backgroundColor": "#3c5cdd",
        "datalabels": {
          "anchor": "end",
          "align": "end",
          "offset": 3,
          "clamp": true,
          "color": "#1d2640",
          "font": {
            "size": 17,
            "weight": "700"
          },
          "numberFormat": {
            "prefix": "$",
            "maximumFractionDigits": 0
          }
        }
      },
      {
        "borderWidth": 0,
        "borderRadius": 3,
        "barPercentage": 0.92,
        "categoryPercentage": 0.8,
        "label": "CAC",
        "data": [190, 310, 980, 1450],
        "backgroundColor": "#e0602a",
        "datalabels": {
          "anchor": "end",
          "align": "end",
          "offset": 3,
          "clamp": true,
          "color": "#1d2640",
          "font": {
            "size": 17,
            "weight": "700"
          },
          "numberFormat": {
            "prefix": "$",
            "maximumFractionDigits": 0
          }
        }
      }
    ]
  },
  "options": {
    "indexAxis": "y",
    "layout": {
      "padding": {
        "right": 28
      }
    },
    "plugins": {
      "tooltip": {
        "enabled": false
      }
    },
    "scales": {
      "x": {
        "display": false,
        "beginAtZero": true,
        "grid": {
          "display": false
        },
        "grace": "22%"
      },
      "y": {
        "grid": {
          "display": false
        },
        "border": {
          "display": false
        },
        "ticks": {
          "color": "#1d2640",
          "font": {
            "weight": "600"
          }
        }
      }
    }
  },
  "kpiStrip": [
    {
      "label": "LTV to CAC, all",
      "value": "4.3:1",
      "color": "#1d2640"
    },
    {
      "label": "Best, Referral",
      "value": "21.6:1",
      "color": "#13703f"
    },
    {
      "label": "Low, Outbound",
      "value": "2.0:1",
      "color": "#b4461a"
    }
  ],
  "footer": {
    "left": "Source: billing and ad accounts",
    "borderTop": true
  },
  "header": {
    "title": "LTV vs CAC by channel",
    "subtitle": "Dollars per customer",
    "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 ltv vs cac by channel 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: Channel, LTV, CAC. 2 to 6 rows. Both in dollars per customer.

### 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.
