Getting started

From sign-up to your first chart in minutes.

YakCharts renders a chart as a PNG image from a single HTTPS request. There is no SDK to install — if you can make an HTTP request or paste a URL, you can turn data into a chart.

1. Create an account

Start a 30 day free trial — no credit card required. A default API key is created for you automatically.

2. Build a chart

Use the visual Chart Editor to enter data, pick a type and theme, and preview live — then copy the ready-made image URL.

3. Call the API

Request /api/chart.png with your key, a chart type, and JSON data to get back a PNG you can embed anywhere.

Your first chart

Fetch a line chart as an image straight from your back end (keeps your key off the client):

curl -o chart.png \
  "https://yakcharts.com/api/chart.png?apiKey=YOUR_API_KEY&type=line&title=Revenue&data=[[-1,1],[0,-5],[1,3],[2,10]]"

Add a theme and bar categories through the options JSON parameter:

curl -o sales.png \
  "https://yakcharts.com/api/chart.png?apiKey=YOUR_API_KEY&type=bar&title=Sales&data=[[\"Q1\",10,2],[\"Q2\",5,3]]&options={\"theme\":\"cerulean\",\"categories\":[\"Plan\",\"Actual\"]}"

Embed it

Because the response is a plain PNG, you can drop the URL straight into an <img> tag, a Markdown document, an email, or a dashboard:

<img src="https://yakcharts.com/api/chart.png?apiKey=YOUR_API_KEY&type=pie&data=[[\"A\",30],[\"B\",70]]" alt="Pie chart"/>

Prefer chat?

Install the Slack app from the Integrations page and type /yakchart to post charts to a channel — no code required. See the full documentation for every chart type, theme, and option.