Line Chart Generator
Plot one or more series over time as a line chart — shared chart kernel, live SVG preview, SVG and PNG downloads.
A line chart shows change, not size: the eye follows the slope, so the tool’s job is to place every point at the right height and join them in order. It shares its data parser and plot area with the bar chart generator — same 40-pixel left axis, same scaling discipline — but maps points across the full width and connects them. The worked example in the sample data makes the multi-series rule concrete: Jan, 24, 18 and Feb, 31, 22 give a first series of 24 → 31 and a second series of 18 → 22, drawn as two polylines with a point marker at every value. Add a third number per line and a third line appears; every series shares the one vertical scale, set by the largest value anywhere in the data (42 in the sample, from April’s first series).
Everything runs in your browser; your data stays on your device, is never uploaded, never stored and never put into a link. Add a second or third comma-separated number on each line to plot extra series on the same axes.
Quick answers
How do I make a line chart with two series?
Put two numbers on each data line: Jan, 24, 18 and Feb, 31, 22 draw a first series rising 24 → 31 and a second rising 18 → 22, on one shared scale.
Series share the vertical scale set by the largest value in the whole dataset, so the two lines are directly comparable.
How are line chart points scaled?
Each point’s height is its value as a fraction of the scale range, across a plot that starts at zero for positive data. A value of 21 on a scale topped at 42 sits exactly halfway up.
Points are spaced evenly across the plot width in input order, so keep your rows in chronological order.
How to use
- Type or paste one row per time point in the form label, value — for example Jan, 24.
- Add extra series by adding more comma-separated numbers on each line: Jan, 24, 18 plots two lines.
- Set the title and the first series colour; later series take the next palette colours automatically.
- Download SVG for scaling or PNG for slides once the shape of the trend looks right.
About this tool
Two reading cautions are built into how this tool behaves. First, the vertical scale starts at zero unless your data goes negative, in which case it extends below zero — either way the axis is drawn from the data’s real range, so a gentle slope is a gentle change, not a rendering trick. Second, a line implies continuity: it suits measurements over time or another ordered axis, and it misleads for unordered categories, where the Bar Chart Generator is the honest choice. The rendering is hand-built SVG with no chart library, and the PNG download is rasterised locally from that same SVG.
Frequently asked questions
How do I plot more than one line?
Add more numbers to each line. Jan, 24, 18 puts 24 on the first series and 18 on the second for January. Every line should carry the same count of numbers; a missing value is treated as 0 for that series so the lines stay aligned.
What data format does the line chart use?
One point per line: a label (usually a date or month) followed by one or more comma-separated numbers. It is exactly the bar chart format with optional extra columns, because both tools share the same parser.
Does the vertical axis always start at zero?
Yes for all-positive data. If any value is negative, the axis extends down to the lowest value so negative points plot below the zero line. The top of the scale is the largest value in any series.
Line chart or bar chart — which should I use?
Line for change over an ordered axis (time, distance, dose), bar for comparing separate categories. If swapping the order of your rows would make the chart meaningless, it is a line chart; if the rows are just a list, use bars.
First time embedding? Read the step-by-step guide →
More free tools
Bar Chart Generator
Turn label, value lines into a clean bar chart — live SVG preview with SVG and PNG downloads, drawn entirely in your browser.
Pie Chart Generator
Turn label, value lines into a pie chart with exact slice angles and shares — live SVG preview, SVG and PNG downloads.
Histogram Generator
Bin your raw numbers into a histogram — equal-width bins, exact counts per bin, live SVG preview and downloads.
QR Code Generator
Turn any link or text into a scannable QR code in seconds.
Random Number Generator
Pick random numbers in any range, with no repeats option.
Random Password Generator
Create strong, random passwords — generated on your device only.