THE CHART, THE DATA, THE EXPLANATION

Line graph with negative values: temperature example

A line graph can show positive, zero and negative observations on the same numeric axis. This fictional week of temperature readings crosses 0°C several times, making the sign of each value meaningful.

Across the freezing point. Temperature across 7 points, in the supplied order. Labels are equally spaced. Exact values are in the editable data table.
Original fictional data · Made with Apache ECharts · 1200 × 800 export

How to read this chart

Monday is −4°C and Thursday is 3°C, a difference of 7°C. Friday is exactly 0°C. Saturday falls below freezing again at −1°C before Sunday reaches 2°C. A zero observation belongs in the data just like any other measured value.

The observed range is 7°C, from the lowest reading of −4°C to the highest of 3°C. There are three negative readings, three positive readings and one zero. The connecting line makes the sequence visible while the markers identify actual observations.

Build it with your own data

Enter signed numbers in the temperature column, including a normal minus sign for readings below zero. Use one consistent unit. Celsius and Fahrenheit readings cannot be mixed in the same column without converting them first.

Days use a category axis in their original order. The vertical scale spans both sides of zero, and the chart preserves negative values instead of clipping or replacing them. Update the time-of-day convention in your subtitle if these are daily morning readings rather than daily averages.

Open this example in the line graph maker → Replace the data, inspect the preview and download your version. SVG, PNG and PDF exports are available in the editor.

What this example cannot tell you

The line crossing zero between two days is an interpolation, not a recorded freezing time. These seven points cannot describe the highest or lowest temperature within each day. Percentage changes across Celsius zero would also be misleading because Celsius has an arbitrary reference zero.

Does the zero-baseline option erase negative values?

No. Including zero in the axis range does not turn negative values into zero or remove them. The chart must still show the full observed range. Keep the source values signed and check the data table when interpreting a crossing.

Method background: Office for National Statistics: axes and gridlines. Our dataset and worked calculation are original fictional examples.

Created and reviewed by SupaMakers for ChartsAI · September 8, 2026. Source code and reuse terms.

LINE GRAPH · WORKED EXAMPLE

Monthly sales line chart example

A monthly sales line chart connects sales totals in calendar order. This editable example shows six fictional monthly totals in US dollars, including a March dip and a stronger second quarter.

Editable chart + original data
LINE GRAPH · WORKED EXAMPLE

Multiple line graph example with three series

A multiple line graph compares two or more series on the same ordered axis. This example follows online, in-store and wholesale orders over five weeks, using one shared unit and a separate line for each channel.

Editable chart + original data
LINE GRAPH · WORKED EXAMPLE

Line graph with uneven time intervals

Use a time axis when observations occur on irregular dates. This plant-height example spaces four visits by their actual dates, preserving gaps of one, six and seven days instead of making every visit look equally far apart.

Editable chart + original data