What is Arithmetic Line-Graph or Time-Series Graph?
Last Updated :
23 Jul, 2025
A time series is an arrangement in which the values of variables are recorded in relation to the time of occurrence. In the case of a long series of data, time series helps identify the trend, periodicity, etc. The time period can be defined as a year, quarter, month, week, days, hours, and so on. A time series graph is also called a Line Graph or a Histogram . The absolute histograms are the histograms used to graph actual time series data. On the other hand, an index histogram is used to graph the index number of the provided data.
Steps for Making Time Series Graph Step 1: Since "time" is an independent variable, show it along the X-axis in the graph. The other variable is measured along the Y-axis because it is a dependent variable.
Step 2: Place a point on the graph for each pair of values that represents the independent variable's value on the X-axis and the dependent variable's value on the Y-axis.
Step 3: To create the time series graph, straight lines (not freehand lines) are used to connect all the data points that so obtained.
Important points to consider while constructing Time Series Graph 1. The equal distance on the X-axis is the equal time duration, and the equal distance on the Y-axis is the equal absolute amount.
2. A suitable and self-explanatory title should be provided to the graph.
3. If more than one variable is shown on a graph, then for each curve, different types of lines should be used. Also, an index should be provided to show the scale of graph and meaning of different types of lines used.
4. Units, years, etc., should be indicated horizontally instead of vertically to prevent the reader from turning the graph in another direction.
There are two types of time series graphs: (I) Graphs with One Variable, and (II) Graphs with Two Variables or More than Two Variables.
(I) One Variable Graph The X-axis is used to measure time, and the Y-axis is used to measure the value of the variable if there is just one variable to be presented. In this graph, plotting the various time points against the respective values and linking them with straight lines is done. The fluctuation of the mentioned line represents variations in the variable, and the distance of the points from the graph's base line denotes the magnitude.
Example 1: Create a time series graph with the annual export data given below.
Years
Exports (in crores)
2017
10
2018
14
2019
8
2020
20
2021
25
Solution:
False Base Line We already know that the scale of the Y-axis should start at zero. But if this rule is carefully followed and there is a significant distance between zero and the variable's smallest value, the curve will be strongly pulled up and away from the origin. For instance , if the variable starts at 1,000 and its following values only change by very small amounts, a large amount of space would be needed to display the variable. The false base is used to solve this problem.
The interval between zero and the variable's smallest value is omitted when a false base is used. The graph should clearly show any instances of false base. In this case, a vertical line usually divides into two parts with some blank space between them. A zigzag or connected line is used to represent this blank area. Objectives of using a False Base line 1. To present the variations in the data.
2. To save the space in the graph. This means by using a false base line, a significant part of the graph is not wasted.
3. To enhance communication through better visuals.
Example 2: The following data shows the annual salary of the employees in different years. Use this information to draw a time series graph.
Years
Salary (in thousands)
2000
25
2005
30
2010
38
2015
45
2020
55
Solution: In this graph, a false base line is used to present the time series data. This is so because the lowest value is 25 and after that, the value increases. Moreover, it also facilitates meaningful presentations and saves a lot of space.
(II) Two or more than two Variables Graph If two or more values are plotted on the same graph, it is best to use different types of lines, such as dotted, broken, or thick lines. This type of graph is generally used to display data on exports and imports, maximum and minimum temperatures, mortality and birth rates, revenues and expenses, etc. The variables can either be specified in "same units" or "different units" when two or more variables are to be shown on the same graph.
1. Two-variable graphs measured in the "Same Units" Two or more variables can be plotted on the same graph if the units of measurement are the same. The process for creating this graph is similar to that for one variable, except there will be two or more curves rather than just one.
Example 3: The following data shows the exports and imports in different years. Use this information to draw a time series graph.
Year
Exports (in crores)
Imports (in crores)
2017
5
9
2018
7
12
2019
10
15
2020
6
9
2021
13
16
Solution: The graph shows two curves, one for the imports and one for the exports. In this, Time is shown along the X-axis, and Exports/Imports are shown along the Y-axis.
2. Two-variable graphs measured in "Different Units" In case two variables are measured in two different units then two scales should be presented, one on the left and one on the right. For instance , the same graph can show imports of the same time period in terms of ₹ crores and million tons. But to compare different curves, the average values of all the variables are obtained on a single line that is frequently put in the center of the graph. This line is referred to as the Common Average Line .
How to draw the Common Average Line? The first step is to determine the average of both variables and mark this average point on each scale. Next, draw a straight line connecting these two average points. This is referred to as the Common Average Line . Example 4: The following data shows the imports in different years. Use this information to draw a time series graph.
Years
Imports (in Million tons)
Imports (in ₹crores)
2018
100
10
2019
125
12
2020
90
9
2021
110
13
2022
130
17
Solution: In the above question, the value of imports is provided in different units, thus the graph is created using two scales. In this, Time is shown along the X-axis, and Imports are shown along the Y-axis.
Similar Reads
Data Science Tutorial Data Science is a field that combines statistics, machine learning and data visualization to extract meaningful insights from vast amounts of raw data and make informed decisions, helping businesses and industries to optimize their operations and predict future trends.This Data Science tutorial offe
3 min read
Introduction to Machine Learning What is Data Science?Data science is the study of data that helps us derive useful insight for business decision making. Data Science is all about using tools, techniques, and creativity to uncover insights hidden within data. It combines math, computer science, and domain expertise to tackle real-world challenges in a
8 min read
Top 25 Python Libraries for Data Science in 2025Data Science continues to evolve with new challenges and innovations. In 2025, the role of Python has only grown stronger as it powers data science workflows. It will remain the dominant programming language in the field of data science. Its extensive ecosystem of libraries makes data manipulation,
10 min read
Difference between Structured, Semi-structured and Unstructured dataBig Data includes huge volume, high velocity, and extensible variety of data. There are 3 types: Structured data, Semi-structured data, and Unstructured data. Structured data - Structured data is data whose elements are addressable for effective analysis. It has been organized into a formatted repos
2 min read
Types of Machine LearningMachine learning is the branch of Artificial Intelligence that focuses on developing models and algorithms that let computers learn from data and improve from previous experience without being explicitly programmed for every task.In simple words, ML teaches the systems to think and understand like h
13 min read
What's Data Science Pipeline?Data Science is a field that focuses on extracting knowledge from data sets that are huge in amount. It includes preparing data, doing analysis and presenting findings to make informed decisions in an organization. A pipeline in data science is a set of actions which changes the raw data from variou
3 min read
Applications of Data ScienceData Science is the deep study of a large quantity of data, which involves extracting some meaning from the raw, structured, and unstructured data. Extracting meaningful data from large amounts usesalgorithms processing of data and this processing can be done using statistical techniques and algorit
6 min read
Python for Machine Learning Learn Data Science Tutorial With PythonData Science has become one of the fastest-growing fields in recent years, helping organizations to make informed decisions, solve problems and understand human behavior. As the volume of data grows so does the demand for skilled data scientists. The most common languages used for data science are P
3 min read
Pandas TutorialPandas (stands for Python Data Analysis) is an open-source software library designed for data manipulation and analysis. Revolves around two primary Data structures: Series (1D) and DataFrame (2D)Built on top of NumPy, efficiently manages large datasets, offering tools for data cleaning, transformat
6 min read
NumPy Tutorial - Python LibraryNumPy is a core Python library for numerical computing, built for handling large arrays and matrices efficiently.ndarray object â Stores homogeneous data in n-dimensional arrays for fast processing.Vectorized operations â Perform element-wise calculations without explicit loops.Broadcasting â Apply
3 min read
Scikit Learn TutorialScikit-learn (also known as sklearn) is a widely-used open-source Python library for machine learning. It builds on other scientific libraries like NumPy, SciPy and Matplotlib to provide efficient tools for predictive data analysis and data mining.It offers a consistent and simple interface for a ra
3 min read
ML | Data Preprocessing in PythonData preprocessing is a important step in the data science transforming raw data into a clean structured format for analysis. It involves tasks like handling missing values, normalizing data and encoding variables. Mastering preprocessing in Python ensures reliable insights for accurate predictions
6 min read
EDA - Exploratory Data Analysis in PythonExploratory Data Analysis (EDA) is a important step in data analysis which focuses on understanding patterns, trends and relationships through statistical tools and visualizations. Python offers various libraries like pandas, numPy, matplotlib, seaborn and plotly which enables effective exploration
6 min read
Introduction to Statistics Statistics For Data ScienceStatistics is like a toolkit we use to understand and make sense of information. It helps us collect, organize, analyze and interpret data to find patterns, trends and relationships in the world around us.From analyzing scientific experiments to making informed business decisions, statistics plays a
12 min read
Descriptive StatisticStatistics is the foundation of data science. Descriptive statistics are simple tools that help us understand and summarize data. They show the basic features of a dataset, like the average, highest and lowest values and how spread out the numbers are. It's the first step in making sense of informat
5 min read
What is Inferential Statistics?Inferential statistics is an important tool that allows us to make predictions and conclusions about a population based on sample data. Unlike descriptive statistics, which only summarize data, inferential statistics let us test hypotheses, make estimates, and measure the uncertainty about our predi
7 min read
Bayes' TheoremBayes' Theorem is a mathematical formula used to determine the conditional probability of an event based on prior knowledge and new evidence. It adjusts probabilities when new information comes in and helps make better decisions in uncertain situations.Bayes' Theorem helps us update probabilities ba
13 min read
Probability Data Distributions in Data ScienceUnderstanding how data behaves is one of the first steps in data science. Before we dive into building models or running analysis, we need to understand how the values in our dataset are spread out and thatâs where probability distributions come in.Let us start with a simple example: If you roll a f
8 min read
Parametric Methods in StatisticsParametric statistical methods are those that make assumptions regarding the distribution of the population. These methods presume that the data have a known distribution (e.g., normal, binomial, Poisson) and rely on parameters (e.g., mean and variance) to define the data.Key AssumptionsParametric t
6 min read
Non-Parametric TestsNon-parametric tests are applied in hypothesis testing when the data does not satisfy the assumptions necessary for parametric tests, such as normality or equal variances. These tests are especially helpful for analyzing ordinal data, small sample sizes, or data with outliers.Common Non-Parametric T
5 min read
Hypothesis TestingHypothesis testing compares two opposite ideas about a group of people or things and uses data from a small part of that group (a sample) to decide which idea is more likely true. We collect and study the sample data to check if the claim is correct.Hypothesis TestingFor example, if a company says i
9 min read
ANOVA for Data Science and Data AnalyticsANOVA is useful when we need to compare more than two groups and determine whether their means are significantly different. Suppose you're trying to understand which ingredients in a recipe affect its taste. Some ingredients, like spices might have a strong influence while others like a pinch of sal
9 min read
Bayesian Statistics & ProbabilityBayesian statistics sees unknown values as things that can change and updates what we believe about them whenever we get new information. It uses Bayesâ Theorem to combine what we already know with new data to get better estimates. In simple words, it means changing our initial guesses based on the
6 min read
Feature Engineering Model Evaluation and Tuning Data Science Practice