Sparkline from a URL

Create a Sparkline as a PNG image with a single URL — An inline mini-trend: no axes or chrome. No charting library, no JavaScript, no screenshots.

Live example

Sparkline example (YakCharts)https://yakcharts.com/chart.png?type=sparkline&data=%5b%5b1%2c4%5d%2c%5b2%2c7%5d%2c%5b3%2c3%5d%2c%5b4%2c9%5d%2c%5b5%2c8%5d%2c%5b6%2c6%5d%2c%5b7%2c11%5d%5d&title=Sparkline

Embed it anywhere

<img src="https://yakcharts.com/api/chart.png?apiKey=YOUR_KEY&type=sparkline&data=%5b%5b1%2c4%5d%2c%5b2%2c7%5d%2c%5b3%2c3%5d%2c%5b4%2c9%5d%2c%5b5%2c8%5d%2c%5b6%2c6%5d%2c%5b7%2c11%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=sparkline&data=%5b%5b1%2c4%5d%2c%5b2%2c7%5d%2c%5b3%2c3%5d%2c%5b4%2c9%5d%2c%5b5%2c8%5d%2c%5b6%2c6%5d%2c%5b7%2c11%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