Stacked bar chart from a URL

Create a Stacked bar chart as a PNG image with a single URL — Part-to-whole across categories. No charting library, no JavaScript, no screenshots.

Live example

Stacked bar chart example (YakCharts)https://yakcharts.com/chart.png?type=stacked&data=%5b%5b%22Q1%22%2c12%2c8%5d%2c%5b%22Q2%22%2c19%2c5%5d%2c%5b%22Q3%22%2c7%2c14%5d%2c%5b%22Q4%22%2c22%2c9%5d%5d&title=Stacked%20bar%20chart&options=%7b%22categories%22%3a%5b%22Plan%22%2c%22Actual%22%5d%7d

Embed it anywhere

<img src="https://yakcharts.com/api/chart.png?apiKey=YOUR_KEY&type=stacked&data=%5b%5b%22Q1%22%2c12%2c8%5d%2c%5b%22Q2%22%2c19%2c5%5d%2c%5b%22Q3%22%2c7%2c14%5d%2c%5b%22Q4%22%2c22%2c9%5d%5d">

Works in email, PDFs, READMEs, Slack, dashboards — anywhere an image works. Sign the URL with your secret to remove the watermark.

From code

curl "https://yakcharts.com/api/chart.png?apiKey=YOUR_KEY&type=stacked&data=%5b%5b%22Q1%22%2c12%2c8%5d%2c%5b%22Q2%22%2c19%2c5%5d%2c%5b%22Q3%22%2c7%2c14%5d%2c%5b%22Q4%22%2c22%2c9%5d%5d" -o chart.png

Full reference + JavaScript, Python, PHP, Go and Ruby samples in the docs.

Put this chart in your own emails, reports and dashboards

YakCharts turns data into a PNG from a single URL — no charting library, no JavaScript, no screenshots. Free tier included; every plan has all 28 chart types.

Start free Read the docs