By Tim King · Updated
Line Chart Maker
Paste CSV, Get a Line Graph, Download SVG or PNG Free
OneTask is free, with no sign-up, and built by one person.
If this tool saved you time, a coffee helps keep new ones coming.
How the Line Chart Maker works
This line chart maker draws one or many series over time. Paste a table whose first column is a date, a number or a label and whose other columns are values, and this page draws each value column as a line. Dates are spaced correctly on the axis, several series share one legend, and the finished graph downloads as SVG or PNG with nothing uploaded.
Line chart maker: getting a good result
Data. The first column is the x axis. If every entry is a date such as 2025-03 or 2025-03-14, the axis becomes a time axis and uneven gaps between dates are shown as uneven gaps on the line. If every entry is a number, the axis is a numeric scale. Anything else is treated as a category and spaced evenly in the order given. Every column after the first that contains numbers becomes its own line, and a blank cell simply leaves a gap in that series rather than dropping the row.
Line style. Straight joins the points with segments and is the honest default for measured data. Smooth uses a monotone curve that passes through every point without overshooting, which suits trends where the reader is meant to see the shape rather than the individual values. Step holds each value until the next point and is right for quantities that change at discrete moments, such as a price list or a headcount.
Y axis from zero. Starting the axis at zero keeps the slope honest: a line that climbs from 1,200 to 2,300 looks like roughly a doubling, which it is. Fit to data starts the axis at the lowest value instead, which magnifies small movements. Use it when the variation is the story and say so in the title, because the same data drawn both ways can tell two very different tales.
Markers, labels and format. Point markers put a small circle at every data point so the reader can see where the measurements actually are; hide them when there are hundreds of points and the line alone is cleaner. Title and axis labels are optional. Number format applies to the y axis ticks: Thousands separator writes 12,500. Percent expects fractions, so 0.25 shows as 25%; a whole number such as 1234 shows as 123,400%, so convert it to a fraction first.
Export. Download SVG gives a vector file for documents, slides and web pages; Download PNG renders it at 1×, 2× or 3× the preview width on a white background; Copy SVG puts the markup on the clipboard. The chart is drawn in the browser from the text you pasted and nothing is sent anywhere.
FAQ
How do I plot more than one line?
Add more number columns. Each column after the first becomes a line in the next palette colour and the column headers become the legend. A blank cell leaves a gap in that line without affecting the others, so series of different lengths can share one table.
What date formats are recognised?
ISO dates work best: 2025-03-14, 2025-03, or a full timestamp. The parser also accepts most unambiguous forms a spreadsheet exports, but day-first forms such as 14/03/2025 are read as month-first, so convert them to ISO first if the order matters.
Why does my axis start above zero?
Because Y axis is set to Fit to data, which starts the scale at the smallest value in the table. Switch it to From zero for the conventional graph. From zero is the default because truncated axes exaggerate change, which is the most common way a line graph misleads.
Can I make the line curved?
Set Line style to Smooth. The curve is monotone, meaning it passes through every point and never bulges above or below the values around it, so it cannot invent a peak that is not in the data. Step is the other alternative for values that change in jumps.
See also: all Chart Makers tools, Images, Audio, Video & Screen, PDF, SVG, Simulations & Screensavers, Generative Art, 3D Model Viewers, Drawing Pads, Mockups & 3D Making, Diagram Makers, 3D Science, Tracker Music.
Related tools
Area Chart Maker
Paste CSV, get a stacked or overlapping area chart; download SVG or PNG.
Bar Chart Maker
Paste CSV, get a grouped or stacked bar chart; download SVG or PNG.
Scatter Plot Maker
Paste x,y pairs, get a scatter plot with trend line and r value.
CSV Formatter
Align CSV into readable columns or swap delimiters and fix quoting.
SVG To PNG
Rasterise an SVG to a PNG at any width.