ChartKitBETA

LLM chart generator

The interface is the same for ChatGPT, Claude, open-weight tools, or internal company bots: one URL shape, many model front ends.

Chart builder

Adjust fields and copy URL, HTML, Markdown, or an AI prompt. See the [URL parameters](/docs/url-parameters) reference if you are editing links by hand.

Preview

Monthly Revenue

Copy

Show snippets
URL
https://getchartkit.com/api/chart?type=bar&labels=Jan,Feb,Mar,Apr,May&s0=12000,18000,15000,22000,27000&s0name=Revenue&title=Monthly%20Revenue&w=700&h=420&valueFormat=compact
HTML
<img src="https://getchartkit.com/api/chart?type=bar&labels=Jan,Feb,Mar,Apr,May&s0=12000,18000,15000,22000,27000&s0name=Revenue&title=Monthly%20Revenue&w=700&h=420&valueFormat=compact" alt="Monthly Revenue" width="700" height="420" />
Markdown
![Monthly Revenue](https://getchartkit.com/api/chart?type=bar&labels=Jan,Feb,Mar,Apr,May&s0=12000,18000,15000,22000,27000&s0name=Revenue&title=Monthly%20Revenue&w=700&h=420&valueFormat=compact)

Why one URL pattern helps every LLM

LLMs are better at text than pixels. A ChartKit chart is text in a link - easy to lint, easy to review.

When you switch models, keep the URL parameters doc as the single source of truth.

Use cases

  • Platform teams documenting how any assistant should emit charts.
  • Evals where you score models on valid ChartKit links instead of SVG hallucinations.
  • Multi-model products that let users pick providers but share one export channel.

Examples

Model-agnostic instruction excerpt

Output format: first line is Markdown ![chart](URL), second line is bare URL. URL host: https://getchartkit.com/api/chart . Keys: type, labels, s0, optional s1, title, w, h, legend, valueFormat, format.

Reference line chart URL

https://getchartkit.com/api/chart?type=line&labels=1,2,3,4&s0=10,12,11,14&s0name=Series&title=Demo&format=svg

Markdown snippet

![Demo](https://getchartkit.com/api/chart?type=line&labels=1,2,3,4&s0=10,12,11,14&s0name=Series&title=Demo&format=svg)

How it works

  1. Normalize your internal prompt library on ChartKit query strings.
  2. Test each new model with the same three sample datasets.
  3. Validate URLs in the builder before they reach customers.

Use with ChatGPT or Claude

Specialized entry points: AI chart generator, ChatGPT, Claude.

For prose-heavy starts, see chart from text.

FAQ

Do all LLMs support ChartKit?

Any model that can print ASCII URLs can target ChartKit; quality varies - always verify output.

Can I use Markdown embeds?

Yes.

Do readers need JavaScript?

No for image embeds.

Is there JSON?

GET charts use query strings; POST `/api/render` accepts JSON for server pipelines - see documentation.

Is this free?

Public ChartKit chart URLs are available for normal trials.

More ChartKit tools