Charts as images, from one URL.
Send a JSON spec and get back a sharp PNG, SVG or WebP. Retina by default, light or dark, ready for the inbox, Slack, OG cards and your agents.
One spec at three sizes
{
"type": "bar",
"preset": "email",
"theme": { … },
"data": {
"labels": [
"Mon", "Tue", "Wed", "Thu", "Fri",
"Sat", "Sun"
],
"series": [
{
"name": "Signups",
"values": [
142, 168, 155, 189, 204, 96, 88
]
}
]
},
"options": {
"title": "Signups this week",
"valueLabels": true,
"grid": false,
"yAxis": { "hidden": true }
}
}{
"type": "bar",
"preset": "slack",
"theme": { … },
"data": {
"labels": [
"Mon", "Tue", "Wed", "Thu", "Fri",
"Sat", "Sun"
],
"series": [
{
"name": "Signups",
"values": [
142, 168, 155, 189, 204, 96, 88
]
}
]
},
"options": {
"title": "Signups this week",
"valueLabels": true,
"grid": false,
"yAxis": { "hidden": true }
}
}{
"type": "bar",
"preset": "og",
"theme": { … },
"data": {
"labels": [
"Mon", "Tue", "Wed", "Thu", "Fri",
"Sat", "Sun"
],
"series": [
{
"name": "Signups",
"values": [
142, 168, 155, 189, 204, 96, 88
]
}
]
},
"options": {
"title": "Signups this week",
"valueLabels": true,
"grid": false,
"yAxis": { "hidden": true }
}
}- p95 render, uncached
- 84 ms
- chart types, one spec
- 11
- PNG by default
- PNG, SVG, WebP
- a plain img, no JavaScript
- Gmail, Outlook
Charts where JavaScript can't run.
Inboxes, chat apps and link previews only show images. Chartshot turns your data into one, at the size each place expects.
01Email600 × 300
Charts in email
Gmail and Outlook strip scripts, so a chart in an email has to be an image. Put a Chartshot URL in an img tag and every reader sees the same sharp PNG.
- PNG, tested in Gmail and Outlook
- Retina at 2×, light or dark
- Works with react-email
Your weekly report
Acme Analyticsto meGmailYou had 1,042 signups this week.
Best day: Fri, with 204 signups.
Your weekly report
Acme Analyticsto meGmailYou had 1,042 signups this week.
Best day: Fri, with 204 signups.
02React EmailSDK
Charts in React Email
Drop ChartImage from the Chartshot SDK into a react-email template. It signs the chart's URL as the email renders, then you send it with Resend or any provider.
- Signed on your server, no request
- Width, height and alt text set for you
- No badge on Pro and up
weekly-report.tsximport { ChartImage } from "@lglab/chartshot/react"; import { Body, Html, Text } from "react-email"; import { charts } from "./charts"; export default function WeeklyReport({ days, signups }) { return ( <Html> <Body> <Text>Here are this week's signups.</Text> <ChartImage charts={charts} spec={{ type: "bar", preset: "email", data: { labels: days, series: [{ name: "Signups", values: signups }], }, }} /> </Body> </Html> ); }03Slack800 × 400
Charts in Slack
Post a chart to a channel in a Block Kit image block, from an incoming webhook or your own code. Slack fetches the URL and shows the chart in the message.
- The slack preset, sized for a channel
- Nothing to upload, just a URL
- Works from a webhook, no bot needed
# metrics14 members
Metrics bot APP 9:00 AM
MRR for June: $48,200, up 54% in a year.
2 repliesLast reply today at 9:14 AM
04OG image1200 × 630
Chart OG images
Make a page's link preview a live chart for X, LinkedIn and Slack. Set the og preset and put the chart's URL in the page's metadata.
- Drawn at 2× for sharp previews
- One line in Next.js metadata
- Cached, so previews load fast
Acme @acme · 2h
Our first half of 2026, in one chart.
acme.com
First half of 2026: revenue up 21%
05AI agentsMCP
Charts for AI agents
Claude, Claude Code and Cursor draw charts from your data through Chartshot's MCP server, and hand back an image URL you can paste anywhere.
- One MCP server, signed in with your key
- Invalid specs come back with what to fix
- Every chart is a plain URL
Chart where our traffic came from in June, as a donut.
chartshot
create_chart_urlHere it is, drawn with Chartshot:
https://c.chartshot.dev/7Kq2mXa9Lp3Rt8VbN1cE4w.png
Your weekly report
You had 1,042 signups this week.
Best day: Fri, with 204 signups.
Your weekly report
You had 1,042 signups this week.
Best day: Fri, with 204 signups.
import { ChartImage } from "@lglab/chartshot/react";
import { Body, Html, Text } from "react-email";
import { charts } from "./charts";
export default function WeeklyReport({ days, signups }) {
return (
<Html>
<Body>
<Text>Here are this week's signups.</Text>
<ChartImage
charts={charts}
spec={{
type: "bar",
preset: "email",
data: {
labels: days,
series: [{ name: "Signups", values: signups }],
},
}}
/>
</Body>
</Html>
);
}# metrics14 members
Metrics bot APP 9:00 AM
MRR for June: $48,200, up 54% in a year.
2 repliesLast reply today at 9:14 AM
Acme @acme · 2h
Our first half of 2026, in one chart.
acme.com
First half of 2026: revenue up 21%
Chart where our traffic came from in June, as a donut.
chartshot create_chart_url
Here it is, drawn with Chartshot:
https://c.chartshot.dev/7Kq2mXa9Lp3Rt8VbN1cE4w.png
11 chart types. Every one is a URL.
Each chart here is a live image from api.chartshot.dev, requested at the size in its corner. Open one in the playground to see its spec and change it.
- Bars and a line: revenue and customers. Open it in the playground.
- Radar chart: feature usage. Open it in the playground.
- Donut chart: traffic sources. Open it in the playground.
- KPI card: monthly active users. Open it in the playground.
- Grouped bar chart: revenue by region. Open it in the playground.
- Line chart: monthly recurring revenue. Open it in the playground.
- Scatter chart: accounts. Open it in the playground.
Make your first chart.
No sign-up needed to try it. Paste a chart URL into any img tag.
curl -o chart.png "https://api.chartshot.dev/v1/chart?c=eyJ0eXBlIjoiYmFyIiwidGhlbWUiOnsiZXh0ZW5kcyI6ImRlZmF1bHQiLCJmb250IjoiSW50ZXIiLCJsaWdodCI6eyJiYWNrZ3JvdW5kIjoiI2ZjZmRmZCIsImZvcmVncm91bmQiOiIjMGEwYTBhIiwibXV0ZWRGb3JlZ3JvdW5kIjoiIzVjNWM1YyIsImJvcmRlciI6IiNlNWU1ZTUiLCJjaGFydDEiOiIjMWY1ZmZmIiwiY2hhcnQyIjoiIzBhMGEwYSIsImNoYXJ0MyI6IiM4ZjhmOGYiLCJjaGFydDQiOiIjYThjMGZmIiwiY2hhcnQ1IjoiIzRhNGE0YSIsInJhZGl1cyI6MX0sImRhcmsiOnsiYmFja2dyb3VuZCI6IiMwYTBhMGEiLCJmb3JlZ3JvdW5kIjoiI2Y3ZjhmOCIsIm11dGVkRm9yZWdyb3VuZCI6IiNhMWExYTEiLCJib3JkZXIiOiIjMmUyZTJlIiwiY2hhcnQxIjoiIzNkN2JmZiIsImNoYXJ0MiI6IiNmN2Y4ZjgiLCJjaGFydDMiOiIjNzM3MzczIiwiY2hhcnQ0IjoiIzlkYjhmZiIsImNoYXJ0NSI6IiM0YTRhNGEiLCJyYWRpdXMiOjF9fSwiZGF0YSI6eyJsYWJlbHMiOlsiTW9uIiwiVHVlIiwiV2VkIiwiVGh1IiwiRnJpIiwiU2F0IiwiU3VuIl0sInNlcmllcyI6W3sibmFtZSI6IlNpZ251cHMiLCJ2YWx1ZXMiOlsxNDIsMTY4LDE1NSwxODksMjA0LDk2LDg4XX1dfSwib3B0aW9ucyI6eyJ0aXRsZSI6IlNpZ251cHMgdGhpcyB3ZWVrIiwidmFsdWVMYWJlbHMiOnRydWUsImdyaWQiOmZhbHNlLCJ5QXhpcyI6eyJoaWRkZW4iOnRydWV9fSwibW9kZSI6ImxpZ2h0In0"