Scientific FigureScientific Figure
Line Graph Tool

Line Graph Maker & Line Graph Generator

A line graph maker for time courses, growth curves and dose-response data, with every point, error bar and axis tick computed from your numbers before the figure is drawn. For lab reports, theses and journal panels.

Line graph maker journal styles

Five journal presets from the line graph maker, each on its own study; take a card to load its data.

Nature

Per2 and Bmal1 cycling in antiphase over one day, drawn by the line graph maker with mean ± SD bars from three mice.

Science

Hypocotyl growth in Col-0 and phyB-9 as a double line graph, which the line graph maker sets in black and white with open markers.

Cell Press

MC38 tumour volume under three treatments, a multiple line graph from the line graph maker with mean ± SEM of eight mice.

Clinical grayscale

Change in HbA1c from baseline over 52 weeks with 95% CIs; in clinical grayscale the line graph maker separates the arms by dash pattern.

Dark slide

A single-line graph of amylase activity peaking at 70 °C, set by the line graph maker on a dark slide.

Line graph examples

Four line graph examples, each drawn by this line graph maker from the prompt and numbers on its card. Click one to load them into the composer.

Growth curve, log y axis

A semi-log growth curve: asked for a log y axis, the line graph maker puts OD600 on powers of ten, so exponential growth draws straight.

Dose-response, log x axis

Cisplatin against doxorubicin on a log concentration axis, a dose-response the line graph maker spaced in tenfold steps.

Mean ± SEM from replicates

Four mice typed per time point; the line graph maker computes each mean ± SEM before drawing.

Three arms, uneven visits

Three trial arms at weeks 0 to 24, spaced as measured; the line graph maker starts this y axis at 125 mmHg, not zero.

What is a line graph?

A line graph plots a measured value against an ordered x variable, usually time or dose, and joins successive points with line segments so the reader sees how the value changes. Each line is one condition or group. Because the x axis is a number line, or an ordered set of visits, the spacing between points carries meaning, and the slope between two points is the rate of change over that interval. In research figures the points are usually means, each with an error bar.

About this line graph maker

  • Type the x values once (Time (h): 0, 2, 4, 8) and one line per condition, or attach a CSV, TSV or Excel table with x in the first column and one column per line, up to 6 lines and 40 x values.
  • The line graph maker reads columns that share a header as replicates and averages them in code. Error bars are SD by default, SEM or a 95% CI when you name them, and a column headed like “KO SD” becomes that line's ± values.
  • Uneven sampling times keep their true spacing on the x axis. Ask the line graph maker for a log x axis for concentrations or a log y axis for counts and OD, and the ticks land on powers of ten.
  • The line graph maker gives each line its own marker shape, lists the lines in the legend in the order they end on the right, and puts the legend in a corner the data leave empty.
  • Each time the line graph maker regenerates a figure, it rebuilds the points from your data; a new journal preset or palette restyles the lines and leaves each point where it was.

How to make a line graph in the line graph maker

1

Give the line graph maker x and the lines

Type the x values once, Time (min): 0, 15, 30, 60, then one line per group, WT: 98, 208, 178, 142, or attach the plate-reader or spreadsheet export as CSV or Excel.

2

Say what the bars and axes show

Name the error bar (SD, SEM or 95% CI) for the line graph maker to compute, ask for a log axis when the values span decades, and give each axis title with its unit in quotes.

3

Pick a journal style and generate

Pick the Nature, Science or Cell Press preset, clinical grayscale, or a dark slide for talks. The points, ticks and legend order are fixed by your data, so in the line graph maker a preset changes only line weight, markers and colour.

Entering data in the line graph maker for a double or multiple line graph

Most questions about a line graph maker are about the table, not the drawing: where the x values go, how to add a second or third line, and what to do when the lines were not measured at the same times. One layout answers all three.

Time (h)ControlTreatedTreated SD
00.050.050.01
20.120.090.01
4NA0.180.02
80.950.330.03
241.400.520.05
One row per x value and one column per line, as the line graph maker reads it. NA marks a time a line was not measured; a column named after a line plus SD holds its ± values.

The same table typed into the line graph maker

Time (h): 0, 2, 4, 8, 24. Control: 0.05, 0.12, NA, 0.95, 1.4. Treated: 0.05, 0.09, 0.18, 0.33, 0.52 ± 0.01, 0.01, 0.02, 0.03, 0.05.

x goes first, and only once

The independent variable (time, dose, temperature) is written once and shared by every line. Each further column, or each further “Name: values” run you type into the line graph maker, becomes one line with its own colour and marker.

Lines measured at different times

Two cohorts weighed on different days still share one x axis. List every time point either cohort has and write NA where a cohort has no reading: the line graph maker leaves that marker out and joins the neighbouring points directly, so neither line is forced onto the other’s schedule.

Replicates in columns that share a header

Three columns all headed “KO” are read as three replicates of one line: the line graph maker plots their mean and turns the SD, or the SEM or 95% CI you name, into its error bar. Typed, the same thing is 1.0/1.2/0.9 at each x.

Pasted from Excel or Google Sheets

Copy a block of cells, header row included, into the box: the line graph maker reads it row by row, the same way it reads an attached .xlsx or .csv file.

Line graphs you can make with this line graph maker

The six line graphs that come up most in lab work and coursework: what makes each one different, and what to type into the line graph maker to get it.

Line graph over time (time series)

One measurement followed through time, one line per condition. Use it for cell counts over days, body weight over weeks or a signal across a recording. Give the line graph maker the time points as numbers (Day: 0, 3, 7, 14, 28) and the gaps stay proportional, so uneven sampling is not disguised as even.

Line graph with error bars

Each point is a mean, and its bar shows the spread or the uncertainty around it. Type replicates per time point as 1.0/1.2/0.9, or attach replicate columns that share a header, and the line graph maker computes the means in code. Name SD, SEM or a 95% CI in the prompt.

Double line graph and multiple line graph

Two to six lines on one pair of axes, compared over the same x values. A double line graph sets treated beside control; more lines suit dose groups or genotypes. Keep only the lines a reader must compare: past four or five, ask the line graph maker for separate panels.

Bacterial growth curve on a log scale

Cell density or viable count against time on a logarithmic y axis, where exponential growth becomes a straight line. On this semi-log plot the lag, exponential, stationary and death phases separate clearly, and the slope of the straight stretch gives the specific growth rate. Ask the line graph maker for a “log scale y-axis” and give OD600 or CFU/mL values above zero.

Dose-response curve

Response against concentration on a log x axis, from no effect to the full effect. Concentrations usually rise in tenfold or threefold steps, which a log axis spaces evenly. Write “log x axis”; a vehicle dose of 0 has no place on a log axis and is left off with a note. The line graph maker joins the measured points as given: no sigmoid is fitted and no EC50 is drawn that you have not supplied.

Repeated measures from baseline to follow-up

Group means at scheduled visits, often as change from baseline. Clinical and intervention studies report Baseline, Week 4, Week 12, Week 24. Give the line graph maker the weeks as numbers to keep the real spacing, or as labels to space the visits evenly. Lines that start at 0 and fall below it show the change directly, and the y axis runs below zero to hold them.

Error bars or a shaded band in the line graph maker

Both show the same SD, SEM or confidence interval. They differ in how many points they suit, so choose by how dense the line is, then tell the line graph maker which one you want.

Error bars, for a few time points

Six to twelve points per line, each read as its own result. A time course sampled by hand has room for them, and a reader can compare two groups at one time. Write “mean ± SD” or “± SEM” and the line graph maker caps a bar at every point.

A shaded band, for dense lines

Twenty to forty readings per line, where bars would merge into a comb. A plate-reader kinetic or a sensor trace reads better as a translucent ribbon in the line’s own colour. Write “shaded error band” and the line graph maker draws its edges through the same computed ends a bar would.

Separate panels, when bars collide

Where two lines run close, their bars overlap and hide each other. Write “separate panels” and the line graph maker gives each line its own panel on one shared x axis, or switch to a band, whose transparency keeps both visible.

Whichever you pick, the figure legend names what the bars or band show and the n behind each point. Overlapping SEM bars are not a test of significance either way (Cumming, Fidler and Vaux, 2007).

Choosing the axes and error bars for your data

Most line graph mistakes are axis choices: evenly spaced ticks for uneven times, a linear axis for values that grow a thousandfold, a second y axis. Match your data to the setting, then type it into the line graph maker.

Your dataX axisY axisError bars
Samples at 0, 1, 2, 4, 8 and 24 hLinear time at the true spacingLinearSD or SEM of independent repeats
OD600 or CFU/mL during growthLinear timeLog₁₀ (semi-log plot)SD of biological replicates
Response at 0.1 to 10,000 nMLog₁₀ concentrationLinear, % of controlSEM or 95% CI
Visits at baseline and weeks 4, 12, 24Weeks as numbers, or visits as evenly spaced labelsChange from baseline, crossing 095% CI
Two variables in different unitsOne shared time axisTwo stacked panels, one y axis eachAs for each variable
One representative experimentAs aboveAs aboveNone, since n = 1

Error bars belong to independent repeats, not technical replicates. A single representative run has n = 1 and carries no error bars (write “no error bars” and the line graph maker draws none), and replicate wells from one run show pipetting precision rather than biological variation (Cumming, Fidler and Vaux, 2007).

Line graph axis rules that graders and reviewers check

The same four questions come up in science-class rubrics and journal reviews. Here is the convention for each, and what the line graph maker does about it.

Which variable goes on the x axis?

The independent variable: the one you set, or time. What you measured goes on y. Typed, the first run you give, Time (h): 0, 2, 4, is what the line graph maker reads as x; in a file it is the first column.

Does the y axis have to start at zero?

Not on a line graph. A bar encodes its value by length and needs zero; a line encodes change by its slope, and blood pressures of 131 to 153 mmHg drawn from zero flatten into a line along the top (UK Office for National Statistics). The line graph maker includes zero when the lowest value is under about 30% of the highest, as with OD, percentages and counts, and otherwise fits the axis to the data and labels the first tick.

A unit in every axis title

Each axis title names the quantity and its unit: Time (h), Blood glucose (mg/dL). Put both titles in quotes in the prompt, x-axis "Time after glucose (min)", and the line graph maker prints them as written.

Join the points or draw a line of best fit?

Join them when each point follows from the one before, as in a time course; fit a line when the points are independent measurements with a trend. Many school rubrics ask for a best-fit line. The line graph maker joins points as measured and fits nothing; for a best-fit line and its equation, use the scatter plot maker.

Two line graphs of the same falling blood pressure, one with the y axis from 0 where the line looks flat, one from 125 mmHg where the fall is clear.y axis from 00408012016001224Weeky axis from 12512513514515501224WeekmmHg
The 10 mg arm from the trial example, drawn from 0 and from 125 mmHg. The line graph maker picks the fitted axis, which shows the 21 mmHg fall the trial measured. See the trial graph the line graph maker drew, in the examples

Line graph maker vs a line chart in Excel

Excel will draw a line chart from any column, and the questions people ask about it come back to the same six fixes. Here is what each takes in Excel and what you type in the line graph maker instead.

Uneven time points (0, 1, 2, 4, 8, 24 h)
ExcelA Line chart treats numeric x values as category labels and spaces them evenly; switch to Scatter with Straight Lines and Markers to get the real gaps.
HereThe line graph maker keeps numbers at their true spacing; type labels (Baseline, Week 4) when you want the visits evenly spaced.
A different error bar at every point
ExcelError Bars → More Options → Custom → Specify Value, then select the plus and minus ranges, one series at a time.
HereWrite the ± values after the line (… ± 0.1, 0.4, 0.7) or add a column headed “Treated SD”, and the line graph maker draws each bar to its own value.
Mean ± SEM from replicates
ExcelAdd AVERAGE and STDEV.S columns, divide by SQRT(n) for the SEM, then point the error bars at the result.
HereType 0.05/0.06/0.05 at each x, or attach replicate columns under one header; the line graph maker computes the means and bars in code.
A growth curve on a log axis
ExcelFormat Axis → Logarithmic scale; a zero or a negative blank-corrected reading cannot be plotted on it, and Excel warns.
HereWrite “log y axis” and the line graph maker puts the ticks on powers of ten; a zero keeps the axis linear with a note saying why.
Four lines told apart in print
ExcelRecolour each series, change its marker and dash type by hand, then reorder the legend entries.
HereMarker shapes differ line by line, the grayscale preset adds dash patterns, and the line graph maker orders the legend by where the lines end.
Journal formatting
ExcelSet the font, line weights, tick marks and figure size chart by chart.
HerePick the Nature, Science, Cell Press or clinical grayscale preset; the line graph maker keeps every point where your data put it.

Excel is still the better tool when the chart must update as the sheet changes, or when you need a fitted trendline and its equation. The line graph maker draws a finished figure from fixed numbers, joins the points as measured and fits no curve; for a regression line through x–y pairs, use the scatter plot maker.

Slope, growth rate and doubling time from a line graph

The slope between two points of a line graph is the average rate of change over that interval; on a semi-log growth curve the slope of the straight stretch is the specific growth rate, which sets the doubling time.

rate = (y₂ − y₁) / (x₂ − x₁) μ = (ln N₂ − ln N₁) / (t₂ − t₁) t_d = ln 2 / μ

In words

Rate is rise over run; growth rate is the rise in ln N per hour; doubling time is 0.693 divided by it.

From the growth-curve example above: LB rises from OD600 0.12 at 3 h to 0.5 at 5 h, so μ = (ln 0.5 − ln 0.12) / 2 h = 0.71 per hour and t_d = 0.693 / 0.71 ≈ 0.97 h. The line graph maker draws the points and does not compute slopes or fit curves, so give any rate you report in the figure legend.

Line graph maker questions, answered

How do I make a line graph from my data?

Type the x values once, then one line per group, or attach the spreadsheet to the line graph maker. For example: Time (h): 0, 2, 4, 8. Control: 0.05, 0.12, 0.31, 0.9. Treated: 0.05, 0.09, 0.18, 0.4. Add “mean ± SEM” with replicates written 0.05/0.06/0.05 per point for error bars, “log y axis” for growth data, and axis titles in quotes. The points and ticks are computed from those numbers before anything is drawn.

Is this line graph maker free?

Yes, to start: new accounts get 100 free credits, enough for your first line graphs, and the daily check-in adds more. The line graph maker needs a free sign-in to generate. Exports on the free plan carry a small corner watermark; paid plans remove it and unlock every model and higher resolutions. Failed generations are refunded automatically.

Can the line graph maker read my Excel or CSV file?

Yes: attach a .xlsx, .csv or .tsv file with x in the first column and one column per line, up to three files of 10 MB each. The line graph maker takes the header row as the line names and the x-axis title, columns that share a header are averaged as replicates, and a column headed like “KO SD” becomes that line’s error bars.

When should I use a line graph instead of a bar graph?

Use a line graph when x is ordered and continuous, such as time, dose or temperature, and a bar graph when the groups are separate categories, such as genotypes or treatments at one time point. A line between two points claims a change across the interval between them; between two genotypes there is no interval, so the line graph maker is the wrong tool for them. For an endpoint comparison with each replicate shown, use the bar graph maker.

Line graph or scatter plot: which should I use?

Use a line graph when x is ordered and each point follows from the one before it, as with time, dose or visit; use a scatter plot when each x–y pair is an independent observation. The line graph maker joins every point to the next, which claims a continuous change between them; that holds for a time course and not for, say, height against weight across people. For paired measurements with a trend line or a correlation, use the scatter plot maker.

Should a line graph show SD or SEM?

SD to describe how much the measurements vary, SEM or a 95% confidence interval to compare means. Name it in the prompt and the line graph maker computes it from your replicates; whichever you choose, the legend must name it and give n, the number of independent experiments or animals behind each point (Cumming, Fidler and Vaux, J Cell Biol 2007). With n = 3, plotting the individual values is often clearer than any error bar.

When should the y axis of a line graph be logarithmic?

When the values span more than about one order of magnitude and change by multiplication, as in bacterial growth, viral titres or serial dilutions. On a log axis equal ratios take equal distances, so steady exponential growth draws as a straight line. Every value must be above zero: a count of 0 cannot be placed, so the line graph maker keeps a linear axis and says why.

Can a line graph have two y axes?

Not in this line graph maker, and many journals discourage it: where two lines cross on a dual-axis plot depends only on how each axis range was chosen. Ask for two y axes or for separate panels and you get stacked panels on one shared x axis, each with its own y axis and ticks.

Why are my time points not evenly spaced on the x axis?

Because they were not evenly spaced in time, and the line graph maker keeps the real gaps. Samples at 0, 1, 2, 4, 8 and 24 h sit at their true positions, so the slope between two points is a real rate. If the x values are visit names rather than times, type them as labels (Baseline, Week 4, Week 12) and they are spaced evenly in the order given.

Should the points be joined by straight lines or a smooth curve?

Straight segments, unless you have a model. A straight segment claims nothing about what happened between measurements; a smooth curve suggests values nobody measured, and a fitted sigmoid needs fitted parameters. Ask the line graph maker for a smooth curve and it passes exactly through every point without overshooting; for a fitted dose-response, fit it in your statistics software and supply the curve's values.

What should the figure legend of a line graph say?

What the points are, what the error bars are, the n behind each point, and what the lines join. For example: “Blood glucose after an oral glucose load in wild-type and db/db mice. Points are means ± SEM, n = 4 mice per group; lines join consecutive time points.” Add the statistical test if the figure marks significance. The line graph maker draws the key to the lines inside the figure; the legend text under it is yours to write.

How many lines can one line graph hold?

Up to six lines of up to 40 points each in this line graph maker, though four or five is the practical limit for a reader. Beyond that, ask for separate panels.

Is a line chart the same as a line graph?

Yes: line chart is the usual name in spreadsheet and business software, line graph the usual name in school and science. Both plot values against an ordered x axis and join them with lines, so a line chart maker, a line graph generator and a line graph maker all do the same job. A run-sequence plot is a line graph of measurements in the order they were taken, used to spot shifts and drift (NIST/SEMATECH e-Handbook).

Does the AI change my numbers?

No: the line graph maker hands each point to the image model as an exact coordinate. Replicate means, the SD, SEM or 95% CI ends, both axis ranges, the tick labels and the legend order are computed in code from your data on every generation, and the model is told to place each point at its stated value without averaging, smoothing or re-ordering anything.

Sources

Put your data into the line graph maker

Type the time points and values or attach the spreadsheet, and the line graph maker returns a journal-style line graph with every point and error bar computed by code.

Open the line graph maker