FreeNo sign-upNothing uploadedPNG download

XY Chart Generator from Text

Turn categories and numbers into a real chart — with axes, a range and a title. Paste Mermaid xychart-beta code — or start from the revenue example — and this free online XY chart generator draws bars, lines or both in your browser. No sign-up, and nothing you paste leaves your device.

Rendering your XY chart…

The demo above is live — edit the code and hit Generate. The example that loads with the page is free; each Generate click uses one of your 10 free generations per day.

How it works

From categories and numbers to a chart with real axes in four steps.

1

List your data

Categories on the x-axis and one number per category — months and revenue, sprints and velocity.

2

Write it as xychart-beta code

A title line, the two axes, then bar and/or line series — or let ChatGPT or Claude write the code for you.

3

Pick “Mermaid diagram” and hit Generate

The visual type is pre-selected on this page. Your chart is drawn instantly in your browser — nothing is uploaded.

4

Download PNG

One click, no watermark — ready for reports, wikis or slides.

What goes into an XY chart

Three building blocks describe any XY chart — and all three are just text.

Axes

Title & axes

A quoted title renders on top; x-axis [jan, feb, mar] lists categories; y-axis "Revenue" 0 --> 1200 names the numeric axis and pins its range.

Series

Data series

bar [...] and line [...] each take a comma-separated list of numbers, one per category — decimals and negatives included.

Plot types

Bars & lines

Use bars alone, lines alone, or both together — the same numbers as columns and as a trend line, like the example above.

From text to XY chart, the AI-friendly way

You never have to write Mermaid by hand: give your numbers to ChatGPT or Claude and paste what it returns here — no sign-up, and everything renders locally on your device.

Step 1

Give AI your numbers

Tell ChatGPT or Claude your categories and values — “revenue jan through dec: 5000, 6000, 7500…” — and ask for Mermaid xychart-beta code.

Step 2

Paste the code here

Copy the xychart code it returns and drop it into the box above, skipping the fence lines around the code block.

Step 3

Generate, download PNG

Hit Generate: the chart draws instantly in your browser and exports as a crisp, watermark-free PNG for reports and slides.

Private by design: your numbers never leave your browser

Charts often carry internal figures. Text2Viz renders them locally, so nothing is uploaded.

Privacy

No sign-up, no account

There is nothing to create and nothing to log into. Open the page and start charting.

Privacy

Rendered locally

Your chart is drawn by JavaScript running on your own device. Your numbers are never sent to our servers.

Privacy

Safe for internal data

MRR curves, server load, sales pipelines — render them here without a second thought.

What people make with it

Three common ways people use this free XY chart generator.

Use case

Chart a metric over time

Months or sprints on the x-axis, the number on the y — a line shows the trend, bars show each value.

Use case

Compare categories precisely

With a pinned y-axis range, small differences between values stay honest and readable.

Use case

From AI chat to image

ChatGPT or Claude turned your table into xychart code? Paste it here and export a shareable PNG.

Frequently asked questions

Is this XY chart generator free?
Yes. You get 10 free chart renders per day, every day, with PNG download and no watermark. No account, no trial that expires.
How do I turn text into an XY chart?
Write your chart as Mermaid xychart-beta syntax: start with xychart-beta, add a title line in quotes, list categories with x-axis [jan, feb, mar], set the numeric axis with y-axis "Revenue" 0 --> 1200, then add one or more series like bar [500, 610, 720] or line [500, 610, 720]. Hit Generate and the chart draws instantly, no sign-up.
How do I set the y-axis range?
Write the bounds after the axis title with an arrow between them: y-axis "Revenue (in $)" 4000 --> 11000. Leave the numbers off — y-axis "Revenue" — and the range is generated automatically from your data.
Bar or line — which should I use?
Use bar when you compare categories against each other, and line when the x-axis is ordered — time above all — and the trend matters. You can also combine them in one chart, like the example above. For quick bar charts from plain "Label: number" lines, the site's bar chart maker is even simpler.
Can AI write the xychart code for me?
Yes. Give ChatGPT or Claude your categories and numbers and ask for Mermaid xychart-beta code. Paste the code block here (skip the fence lines) and render it into a chart.
Can I download the XY chart as a PNG?
Yes. Every chart has a Download PNG button — free, no watermark, exported at double resolution so axis labels, bars and lines stay readable in docs and slides.

More text-to-diagram tools

The same paste-and-generate flow, tuned for other visual types.

Diagram maker

Sankey Diagram Generator

Show how budget, energy or users flow between stages with Mermaid sankey-beta code.

Diagram maker

Block Diagram Generator

Lay out system components in a grid of blocks and arrows from Mermaid block-beta code.

Diagram maker

Requirement Diagram Generator

Map requirements, elements and satisfies links from Mermaid requirementDiagram code.

Diagram maker

C4 Context Diagram Generator

Draw a C4 context diagram — people, systems and relationships — from Mermaid C4Context code.

Diagram maker

C4 Container Diagram Generator

Zoom inside a system’s containers with Mermaid C4Container syntax.

Diagram maker

Flowchart Maker

Process steps and decision branches from Mermaid flowchart syntax.

Diagram maker

ER Diagram Maker

Entity relationship diagrams for database schemas from Mermaid erDiagram syntax.

Timeline

Text to Timeline Maker

Dates and events become a clean horizontal timeline. Also see the horizontal, project and history timeline makers.

Have numbers? Chart them.

Free, no sign-up, 10 renders a day.

Generate my XY chart