Line Chart
A line chart connects data points in order, usually over time, so the eye follows how values rise and fall. Several lines on the same axes make it easy to compare trends between series, which is why it is the go-to way to create a graph of anything measured repeatedly.
makechart.io is a free online chart maker for this kind of data visualization: paste a table or upload a CSV / Excel file, bind the x axis and the value columns, tune line style, dots and axes in the Style panel, then download SVG / PNG or share a link.
Data format
One row per point on the x axis, such as a year or a month, in the order you want them drawn. Each numeric column becomes one line. If the x axis column holds numbers, points are placed by their value; otherwise rows are drawn in table order.
| Field | Type |
|---|---|
x axisrequired | Order (number or text) Position along the horizontal axis, such as year, month or step. Text labels keep the row order of your table. |
y axisrequired | Number (one or more columns) Values of each line. Bind several columns to draw several lines on the same chart. |
| year | Taipei | Taichung | Kaohsiung |
|---|---|---|---|
| 2020 | 23.6 | 23.9 | 25.8 |
| 2021 | 23.9 | 24.1 | 26.0 |
| 2022 | 23.4 | 23.8 | 25.7 |
| 2023 | 24.2 | 24.5 | 26.3 |
When to use
- Showing a trend over time, such as monthly revenue, temperature or website traffic.
- Comparing how a few series change over the same period.
- Data with many points along the x axis, where bars would be too crowded.
- Spotting peaks, dips and turning points rather than exact values.
When not to use
- Categories with no natural order, such as products or countries; a bar chart is clearer.
- More than about eight lines on one chart; the lines tangle. Highlight a few or split them into separate charts.
- Showing how a total is made up of parts; use a stacked area or stacked column chart instead.
Tips
- In the Style panel, set line mode to curve for smooth lines, or turn off dot show to hide the data points.
- Change mode to area, bump or streamgraph to turn the same data into an area chart, a bump chart or a streamgraph.