Code Tools

Home
HTML Table GeneratorCSV to JSONJSON to CSVDiff CheckerMarkdown Editor

Bar Chart Generator

Create beautiful bar charts from your data — vertical or horizontal, fully customizable, download as PNG or SVG

Your files never leave your browser

Data Input

#LabelValueColor

Chart Options

VerticalHorizontal
PaletteSingle ColorPer-Bar Colors

Export

Drop your labels and values into the grid, pick a color palette, and grab a finished bar chart in seconds — PNG, SVG, or straight to your clipboard. Vertical bars, horizontal bars, custom spacing, animated rendering, it's all here without creating an account or installing anything. And everything runs in your browser. Nothing gets uploaded.

How It Works

Enter Data
→
Customize Style
→
Export Chart

You fill in labels and values (or paste them from a spreadsheet), and the Canvas API redraws the chart on every keystroke. Bars scale automatically to fit the tallest value. When you're happy with it, hit Download PNG for a pixel-perfect image, Download SVG for a vector file that scales to any size, or Copy to Clipboard to paste it straight into a doc or slide.

Examples

Monthly Website Traffic

Quick report for a team standup — show visits per month at a glance.

INPUT
Jan, 12400 Feb, 15800 Mar, 14200 Apr, 18900 May, 22100
OUTPUT
Vertical bar chart with 5 bars, auto-scaled to 22,100. Download as PNG or SVG.

Programming Language Popularity Poll

You ran a poll in your Discord server. Horizontal bars work well here because the label names are long.

INPUT
JavaScript 68 Python 55 TypeScript 42 Java 35 C# 28 Rust 22
OUTPUT
Horizontal bar chart sorted by value, with value labels on each bar. Great for comparisons.

Q4 Sales by Region

Finance meeting tomorrow. You need a clean chart comparing four sales regions — no logos, no clutter, just numbers.

INPUT
North America: 842000 Europe: 631000 Asia Pacific: 519000 Latin America: 287000
OUTPUT
Vertical bar chart with axis labels showing 842K, 631K, etc. Title: "Q4 Sales by Region." Copy to clipboard and paste into slides.

Who Uses This

📊 Project Managers

Drop a bar chart into sprint retros and status updates without opening a spreadsheet app.

🎓 Students

Make clean charts for lab reports and presentations when your school doesn't provide Office licenses.

📈 Marketers

Create quick comparison charts for campaign performance decks and client reports.

👩‍💻 Developers

Generate benchmark result charts for README files and pull request descriptions.

Common Mistakes

Leaving blank rows in the grid

Empty rows get skipped, but they can throw off the bar count if you expect exactly five bars and only four show up. Delete unused rows with the × button or hit Clear Data and start fresh.

Using commas inside numbers

Typing "1,200" in the value field won't parse correctly — the parser reads the comma as a delimiter. Enter 1200 without formatting. The axis labels handle the K/M abbreviations automatically.

Forgetting to set a chart title before downloading

The PNG and SVG exports include whatever title is showing. If the title field is blank, you get a chart with no heading — which looks incomplete in a presentation. Add the title first, then export.

Technical Details

Frequently Asked Questions

How do I make a bar chart from my data?

Type each label and its value into the grid, or paste comma/tab-separated data into the quick input box and click Parse. The chart updates live as you type. Once it looks right, download as PNG or SVG.

Can I change individual bar colors?

Yes. Switch the color mode to "Per-Bar Colors" and a color picker appears next to each row. You can also pick from six built-in palettes or set one uniform color for every bar.

What's the difference between PNG and SVG export?

PNG is a raster image — great for slides, social media, and quick sharing. SVG is a vector format that stays sharp at any zoom level, so it's better for print or embedding in web pages where the size might change.

Is there a limit on how many bars I can add?

There is no hard limit. That said, charts with more than 15-20 bars start to look crowded. If you have a lot of categories, horizontal orientation helps because labels don't overlap as much.

Does this tool store or upload my data?

No. Everything happens in your browser using the Canvas API. Your data never leaves your device — there's no server involved at all. Close the tab and it's gone.

Share: