Graph Maker

Type or paste your numbers and see a bar graph, line graph, stacked or horizontal bar chart, area chart or scatter plot as you go, with axis titles, colours, value labels and a trendline. Download it as PNG, SVG or PDF. Free, and your data never leaves your browser.

Chart type
Sales and costsSalesCosts0100200300JanFebMarAprMayJunSales, Jan: 120Sales, Feb: 150Sales, Mar: 140Sales, Apr: 180Sales, May: 210Sales, Jun: 200Costs, Jan: 80Costs, Feb: 95Costs, Mar: 100Costs, Apr: 110Costs, May: 120Costs, Jun: 125

2 series over 6 labels. Sales: highest 210, lowest 120; Costs: highest 125, lowest 80.

Data

Chart data: labels in the first column, one column per series
Paste from Excel, Google Sheets or CSV

Copied spreadsheet cells, CSV or semicolons. A first row of names becomes the series names. This replaces the table above.

Options

Decimal places on values
Background

Your data stays in your browser; nothing is uploaded. Downloads are 2000 px wide (PNG), sharp at any size (SVG), or on an A4 page (PDF). Bar and area charts always start at zero.

How to make a graph

  1. Put your labels in the first column (months, regions, names) and the numbers in the next columns, one column per line or set of bars. Or paste a table from Excel, Google Sheets or a CSV file.
  2. Pick the chart type and add a title and axis titles.
  3. Choose colours, number format (such as ₹ before or % after), value labels and gridlines, then download.

Worked example: a trendline

The scatter example plots hours studied against test scores for seven students: (1, 52), (2, 55), (3, 61), (4, 64), (5, 70), (6, 74) and (7, 79). The least-squares line is y = 4.57x + 46.71: each extra hour goes with about 4.6 more points. R² = 0.995, so the line explains 99.5% of the variation in the scores.

The bar example's values run up to 210, so the axis uses steps of 100: 0, 100, 200, 300. Steps are always 1, 2 or 5 times a power of ten, which keeps the gridlines easy to read.

For one set of shares of a whole, the pie chart maker adds percentages that total 100%; to plot an equation such as y = x², use the graphing calculator.

Frequently asked questions

Which chart should I use?

A bar chart compares amounts between categories (sales by region). A line graph shows how something changes over time (sales by month), and several lines compare a few series. Stacked bars show how a total splits into parts; horizontal bars suit long category names. An area chart is a line graph with the amount filled in. A scatter plot shows whether two numbers move together (hours studied and test scores), and the trendline measures how closely.

How do I make a graph with several lines or bars?

Add a column for each series: the first column holds the labels (months, regions) and every other column is one line or one set of bars. Use + Add series, or paste a table from Excel or Google Sheets with the series names in the first row.

Why do bar charts start at zero?

Because a bar's length is its value: a bar axis that starts at 90 makes 95 look twice as big as 92. So bars and areas always start at zero. Line graphs and scatter plots can zoom in on the data to show small changes; tick “Start the axis at zero” to keep zero on them too.

What do the trendline equation and R² mean?

The trendline is the straight line that fits the points best (least squares): y = bx + a, where b is how much y changes for each step in x. R² is the share of the variation in y that the line explains, from 0 (none) to 1 (every point on the line). A trend shows the two numbers move together; it doesn't show that one causes the other.

Can I use the chart in a report or slide?

Yes. PNG is 2,000 px wide, sharp in documents and slides; SVG stays sharp at any size and can be edited in design tools; PDF puts the chart on an A4 page. Choose a transparent background to place it on a coloured slide.

Is my data uploaded?

No. The chart is drawn in your browser as you type, and the downloads are made there too; nothing is sent to a server.

More everyday calculators

See all everyday calculators →

Can't find the tool you need? Tell us, and the most requested tools get built first.