Line Graph Maker
Paste ordered categories and numerical series to create a line or area chart. Edit the table, choose your style, and download a PNG or SVG.
Create your line or area chart
Saved on this device · No account required
1. Enter data
Or drop one file here. Up to 2 MB; nothing is uploaded to a server.
The first column supplies X-axis labels. Each numeric column after it becomes a separate series. Category mode follows row order; Date mode sorts real calendar dates and spaces them by elapsed time.
| # | Category | 2025 | 2026 | Actions |
|---|---|---|---|---|
| 1 | ||||
| 2 | ||||
| 3 | ||||
| 4 |
Opens the selected tool with your current chart data and shared settings. Unapplied pasted text is not transferred.
Preview
4 categories · 2 series · 8 values
Hover to inspect the nearest entered category; click or tap to pin. This selector also works with your keyboard, hidden markers and cropped values. Missing values stay missing. Escape closes details. Downloads exclude this card.
Applies to PNG and SVG downloads. Dark labels work best on light backgrounds. The preview checkerboard is not exported.
Applies to PNG and SVG downloads. The preview matches the image proportions; wider images retain side padding to avoid distortion. SVG stays sharp when resized; some editors may substitute fonts.
Accessible graph data
| Category | 2025 | 2026 |
|---|---|---|
| January | 120 | 150 |
| February | 145 | 170 |
| March | 160 | 180 |
| April | 155 | 210 |
How to make a line graph
- Enter ordered data. Paste a table with categories in the first column and values in the columns that follow.
- Check each series. Rename lines, edit cells, and keep the rows in the sequence you want displayed.
- Choose the style. Select Line or Area, add a title and axis labels, and choose whether to show the legend, grid, and points.
- Export it. Review the visual and accessible table, then download a PNG or SVG.
What is a line graph?
A line graph displays numerical observations across an ordered sequence. Points are positioned over categories such as months, years, stages, or measurement times and connected with straight segments. The direction and steepness of those segments make changes, trends, reversals, and periods of relative stability easier to see.
When are line graphs useful?
Line graphs work best when order matters and adjacent observations form a meaningful progression. Common uses include tracking revenue by month, temperatures by day, enrollment by year, or a measurement through repeated trials. A line should not imply continuity between unrelated categories.
Choose an area chart layout
An area chart shades the space between each line and zero, making the size of values across an ordered sequence more prominent. It can be useful for showing a changing volume or count. The zero baseline stays visible with automatic axes, even when grid lines are hidden. Negative values are supported in Overlapping mode. If custom Y-axis limits crop out zero, the preview and exported image show a cropped-view warning.
Choose Overlapping to compare series filled to zero, Stacked to show non-negative contributions and their total, or 100% stacked to compare percentage shares as the total changes. Stacked series should use compatible units and represent parts of the same whole. The original values, total and shares are available in the table and point details.
Use a calendar date axis
Under Customize, choose Date in X-axis spacing. For observations on January 1, January 2 and January 11, the first gap represents one day and the second represents nine days. Category spacing would show equal gaps. Date mode sorts the graph and accessible table chronologically without rearranging your editable rows.
Use YYYY-MM-DD for a day, YYYY-MM for the first day of a month, or YYYY for January 1. Dates are interpreted in UTC without time-of-day changes. Ambiguous dates such as 01/02/2026 and duplicate dates require correction. Use separate series columns for multiple observations on the same date. An entered blank value leaves a gap; a date with no row does not insert a gap automatically.
Choose connections and comparisons
Straight connections are the default. Stepped holds each value until the next entered observation, which can suit a rate that changes on known dates. Line and Overlapping Area use shape-preserving smooth connections. Smoothed stacked bands stay non-negative and preserve totals between observations; percentage bands still add to 100%. It changes how points connect, not the data, and is not a regression or a forecast. Missing values always leave gaps.
For positive data spanning very different magnitudes, a logarithmic Y-axis makes equal ratios equally spaced: 1 to 10 occupies the same distance as 10 to 100. It cannot represent zero or negative values. Line charts support this option; Area keeps a linear scale because its baseline is zero. Both the table and hover details retain original values.
In Line mode, Fill between two lines shades the space between two series in the same units. Its boundaries follow the selected connection style and break at missing values. The fill does not calculate a total, stack the series or represent a confidence interval. These choices save with projects and appear in PNG and SVG downloads.
Explain a point or a period
Open Annotations and highlighted range to attach a short note to a row and series, or shade the space between two rows. For example, mark a change in opening hours and highlight a trial period. Notes explain your data without adding observations or changing calculations.
The callout stays attached to the chosen row and series as you edit labels. If you replace the dataset, choose new rows or turn the notes off. A point cropped out by custom Y-axis limits keeps its text summary and shows a warning instead of placing its callout at a misleading location.
Label and style each series
Use Line labels to place names beside the last observation in each series, and optionally label the first, last or all values. Crowded value labels are omitted to keep the chart readable. Long series names may be shortened in the image; the inspector and data table retain the full names and values. Stacked markers and annotations sit on a band’s upper boundary, while value labels show the contribution (or its percentage share in 100% mode).
Open Individual lines to set thickness, a dash pattern and marker shape, size or fill. Under Plot layout, choose wider or taller proportions and move the legend to the top, bottom or right. These choices apply to both Line and Area, save with projects and appear in PNG and SVG downloads.
Choose axis limits, exact ticks and grids
Open Y-axis: limits and ticks under Customize to enter a minimum, maximum or interval. Exact ticks accept specific values such as 0, 25, 75, 100 and override the interval while present. Use original data units, not formatted currency or percentages. Blank fields keep Auto; Reset restores it.
In Date mode, X-axis dates also offers limits, exact ISO ticks and optional whole-day intervals. Choose a date-axis display format without changing the original dates. Category mode instead lets you select tick labels by row number, for example 1, 3, 5. X and Y have separate grid settings for lines, short tick marks, labels only or neither.
Limits crop connecting segments and fills without deleting observations or joining missing-value gaps. All rows remain in the data table, observation selector and saved project. Raw stacked axes use complete-row totals; 100% stacked keeps a fixed 0–100% axis with its own exact ticks. Raw axis drafts and the Line log choice return in other modes. Reference lines are disabled when switching between raw values and percentages so their units cannot silently change. An annotation or reference outside its view is hidden with an explanation. Settings apply to both Line and Area and to PNG and SVG images.
How to read trends in a line graph
Read from left to right and compare each point with the one before it. An upward segment indicates an increase, a downward segment indicates a decrease, and a nearly level segment indicates little change. A steep line reflects a larger change between adjacent categories, but its appearance also depends on the Y-axis scale.
Look beyond the first and last values. Turning points, repeated peaks, widening gaps between series, and unusually sharp changes may carry more useful information than the overall direction alone.
Line graph vs bar or column chart
A line graph emphasizes movement across an ordered sequence. A bar or column chart emphasizes the size of separate categories. Months in chronological order often suit a line graph, while products that can be freely reordered usually suit bars or columns. Avoid connecting categories when the segment between them has no meaningful interpretation.
Using multiple lines
Compare periods
Place this year and last year on the same ordered timeline to compare direction and seasonality.
Compare groups
Track teams, regions, or products using a shared scale and the same category sequence.
Keep it readable
Use a limited number of lines and clear series names so colors and line patterns remain easy to follow.
All series should use compatible units. If one measure is much larger or uses a different unit, a shared Y-axis can flatten the smaller series and create a misleading comparison.
Start with a sourced line graph
Explore a published dataset before making your own chart. Each page includes the source, a downloadable CSV, and a way to open its values in Line Graph Maker.
Line graph maker FAQ
Can I make an area chart?
Yes. Choose Area under Chart style, then select Overlapping, Stacked or 100% stacked in Area layout. Overlapping fills each series to zero and supports negative values. Stacked uses non-negative contributions to show a total; 100% stacked shows their percentage shares on a fixed 0–100% axis.
How do stacked areas handle missing values and zero totals?
A missing value in any series makes that row an unknown total and leaves a gap in the whole stack. Enter an explicit zero when you know a contribution is zero. In 100% mode, a zero-total row has undefined shares and also leaves a gap. Both layouts reject negative values; Overlapping can show them. Original values stay in the table, including rows that cannot form a stack.
Can I create a graph with multiple lines?
Yes. Put each series in its own spreadsheet or CSV column. You can adjust each line’s thickness, pattern, marker shape and marker fill, and label series beside their last observations. Every value remains available in the accessible table.
Can the X-axis use real dates?
Yes. Select Date under X-axis spacing. Enter dates as YYYY-MM-DD, YYYY-MM or YYYY. The graph and accessible table sort chronologically and space observations by elapsed calendar time. You can set date limits, exact ticks and a display format without removing any rows. Months begin on day 1 and years on January 1. Category mode keeps equally spaced rows in their original order.
Can I choose exact ticks and separate grids?
Yes. Enter increasing comma-separated Y values, Date X ticks as ISO dates, or Category X ticks as row numbers. Exact ticks override the saved interval until cleared. X and Y independently support grid lines, short tick marks, labels only or neither. These choices save with projects and apply to Line, Area, PNG and SVG.
Can I annotate a point or highlight a period?
Yes. Open Annotations and highlighted range to add one text callout to a row and series, and one shaded range between two rows. Both work with Line and Area, appear in PNG/SVG exports and are saved with the project. Their text is also available below the chart.
Can I hide the point markers?
Yes. The Points control hides markers while keeping the selected line connection. Straight is the default; Stepped holds the previous value until the next observation, and Smooth uses shape-preserving connections. Smoothing is not a statistical fit and does not add observations.
Can I use a logarithmic scale or fill between lines?
Line charts can use a base-10 logarithmic Y-axis when every entered value and enabled reference is positive. Exact ticks stay in original units. An optional translucent fill can follow two selected series; a missing value on either boundary breaks the fill. Area charts keep a linear scale and offer overlapping, stacked and percentage layouts.
Can I inspect individual values?
Hover over the plot to see the nearest entered category or date, or click or tap to pin its details. The observation selector also works with a keyboard and includes missing or cropped values. These temporary details are excluded from PNG and SVG downloads.
Is my line graph data uploaded?
No. Parsing, rendering, and PNG/SVG export happen locally in your browser.
Lessons and printable worksheets
Practise with original sample data, worked answers, and free classroom worksheets.