Tools · Chart.js

Online Chart.js editor

Paste a Chart.js configuration, its type, data and options as JSON, and see it drawn in your browser. Mixed charts, doughnuts and multiple axes work, and the chart downloads as a PNG on a white background.

See the examplesHave Forma write one

Or describe it in words and get source you can edit, checked before you see it.

Part of Forma Visuals: Chart your data · For developers

⌘ or Ctrl + Enter draws; this chart also redraws as you type
loadingStarting the renderer…
Chart.js draws on a canvas, so it saves as PNG only.

Line chart Monthly active users over a year as a Chart.js line chart on a category axis of months, kept in calendar order: the config exactly as Forma wrote it from the prompt. A real answer from Forma's chart oracle to: “A line chart of monthly active users in 2025, months Jan to Dec in calendar order on x (not alphabetical), users in thousands on y: 12.4, 13.1, 14.8, 15.2, 16.9…”

In your browser, drawn with Plotly.js (MIT), Apache ECharts (Apache-2.0, notice), Chart.js (MIT).

01 Examples

Chart.js examples to start from.

02 About Chart.js

What Chart.js is good for.

Chart.js is a small JavaScript library that draws charts on a canvas from a single config object. It covers the everyday chart types with a short config and is one of the most widely used charting libraries on the web.

Why PNG only?

Chart.js draws on a canvas, which is pixels rather than vector shapes, so the editor saves PNG at twice the on-screen size.

Do callbacks work?

No. The config is read as JSON, which cannot hold functions, so tick and tooltip callbacks are left out; options that take plain values work.

Is my data uploaded?

No. Chart.js runs in a sandboxed frame on this page with no network access.