Open In App

How to Create a Line Chart for Comparing Data in Excel?

Last Updated: 02 Jun, 2022

R

Summarize
Comments
Improve
Suggest changes
Like Article
Like
Share
Report
News Follow

Excel is powerful data visualization and data management tool which can be used to store, analyze, and create reports on large data. It can be used to visualize data using a graph plot. In excel, we can plot different kinds of graphs like line graphs, bar graphs, etc., to visualize or analyze the trend.

Line Chart for Comparing Data in Excel

The line graph is also known as a line plot or a line chart. In this graph lines are used to connect individual data points. It displays quantitative values over a specified time interval. This graph is generally used when comparison of long term trend is needed. We can easily plot line charts in excel, follow the below steps,

For the purpose of demonstration, we will use the below given data(showing sales of a product over different years):

Dataset

 

 Step 1: Select the cell containing product data.

Select-dataset

 

Step 2: Select ‘Insert’ Tab from the top ribbon and select the line chart.

Inserting-line-chart

 

Output

Output

 

Steps to make changes in graph

Step 1: Click on chart title (‘Sales in above graph)

Clicking-chart-title

 

Step 2: Chart format menu will open. Make desired changes.

Formatting

 

For example, change the chart title and disable the legend option.

Changing-title

 

Output

Output

 

You can see that the chart title is changed and legend is not there now.

Line chart from Pivot table

Suppose we have following table given below, and we want to compare the amount spend by each individual buyer:

Dataset

 

For comparing the spent value by each individual, we have to create a pivot table.

Steps to create pivot table

Step 1: Select the data and then select pivot table from insert tab.

Selecting-pivot-table

 

Step 2: Select the ‘amount by buyer’ option and then select existing sheet option if you want your pivot table to be present in the same sheet.

Amount-by-buyer-option

 

Step 3: Give the cell value where you want to place the pivot table and then select Insert.

Inserting-pivot-table

 

Step 4: Pivot table will get created.

Pivot-table-created

 

Using this pivot now, we can create line chart. To create line chart follow the steps:

Step 1: Select the pivot table

Selecting-pivot-table

 

Step 2: Click on Insert tab and select Line chart option.

Selecting-chart

 

Output

Line-chart-created

 

From this chart we can compare the total amount spent by each individual. For example, Dad spend the maximum amount.



R

News
Improve
Discuss
Do you want to advertise with us?Click here to know more

How to Create a Column Chart for Comparing Data in Excel?

Excel is powerful data visualization and data management tool which can be used to store, analyze, and create reports on large data. It can be used to visualize and compare data using a graph plot. In excel we can plot different kinds of graphs like line graphs, bar graphs, etc. to visualize or analyze the trend. In the Column chart, the field value is represented using vertical bars. It is the best way to compare items side-by-side. The column chart and bar chart is almost the same, the only difference is in the column chart bar is represented vertically while it is represented horizontally in a bar graph. Column Chart for Comparing Data in Excel We can easily plot a line chart in excel, following the below steps. For the purpose of demonstration, we will use the below-given data (showing sales of a product over different years), Step 1: Select the cell containing product data. Step 2: Select the 'Insert' Tab from the top ribbon and select the column chart. Output Multiple data fields can also be plotted in a single graph for comparison. For example, suppose we have to compare the sale of two products over different years. Step 1: Select the cell containing product data
Read More

How to Create a Bar Chart for Comparing Data in Excel?

Excel is powerful data visualization and data management tool which can be used to store, analyze, and create reports on large data. It can be used to visualize data using a graph plot. In excel we can plot different kinds of graphs like line graphs, bar graphs, etc. to visualize or analyze the trend. Let's learn how to plot a bar chart for comparing data in excel. Bar Chart for Comparing Data in ExcelBar graph value is represented using the bars. It is used to compare items side-by-side. Column chart and bar chart is almost same, the only difference is in column chart bar is represented vertically while it is represented horizontally in bar graph. We can easily plot a line chart in excel, following the below steps, For the purpose of demonstration we will compare the sales of three different products over the given years:  Step 1: Select the cell containing product data. Step 2: Select 'Insert' Tab from the top ribbon and select the bar chart. Bar chart we can see that each product is shown with different colors. From the graph we can easily visualize and compare the sales for different years. For example, highest sales is of product C (grey) in year 2022. Steps to make changes in
Read More

How to Create Combination Charts for Comparing Data in Excel?

article_img
Excel is powerful data visualization and data management tool which can be used to store, analyze, and create reports on large data. It can be used to visualize and compare data using a graph plot. In excel we can plot different kinds of graphs like line graphs, bar graphs, etc. to visualize or analyze the trend. In a combination chart, we can plot more than one kind of chart in a single graph. This chart allows the user to present and compare two different data sets that are related to each other (in a single chart). In combination charts, one can have two Y-axis, which allows you to have two different types of data points in the same chart. Creating a Combination chart for comparison Suppose we want to compare both the sales in unit and profit margin numbers of the product in the same chart. First, we will create a regular chart say a column chart. Steps to create a column create a column chart Step 1: Select the data Step 2: Click on the 'Insert' tab and select column chart. Step 3: A column chart will get created To create a combination chart from this clustered column chart, follow the below steps, Step 1: Right-click on any bar and select the 'change series chart typ
Read More

R

Creating a Gantt Chart With Milestones Using a Stacked Bar Chart In Excel

article_img
One of the most common and effective methods of displaying activities (tasks or events) plotted against time is a Gantt chart, which is frequently used in project management. On the left side of the chart is a list of the activities, and at the top is a suitable time scale. A bar is used to symbolize each activity, and the location and length of the bar correspond to the activity's beginning, middle, and finish dates. The following elements are crucial to any effective Gantt chart: The task list, which can be divided into groups and subgroups, runs vertically along the left side of the Gantt chart to define project activity.Timeline: Displays months, weeks, days, and years horizontally across the top of the Gantt chart.Dateline: On a Gantt chart, a vertical line displays the current date.Bars: On the right side of the Gantt chart, horizontal markers indicate tasks and display status, length, and start and finish dates.Milestones: Yellow diamonds that identify significant occasions, dates, choices, and outputsDependencies are thin grey lines connecting activities that must occur in a specific order.The percentage of work that has been completed or the color of the bars can be used t
Read More

Radar Chart or Spider Chart in Excel

article_img
Radar Chart is a pictorial representation of multivariate data. Multivariate data analysis in statistics is nothing but dealing with more than one outcome or observations. Radar graphs can be of two dimensions, three dimensions, or more on the basis of the multiple comparable variables used. The variables are represented on the axis starting from the same points with equal intervals on the axes. The number of axes in a radar graph solely depends on the number of variables used. The Radar Chart has various other names like spider chart, web chart, spider web chart, cobweb chart, irregular polygon, star chart, Kiviat Diagram, etc. The data from the observations in the form of tables are plotted on each axis and by joining all these points in the axes a polygon type structure is formed. So, the number of polygons is dependent on the number of observations. In this article, we will see how to plot a Radar Chart in Microsoft Excel for a given data set using two examples. Example 1 : Consider the table shown below which consists of the data of two Geek students who enrolled in our various courses. Our mentors have rated them on the basis of the student's performance in the individual
Read More

How to Create a Goal Line on a Chart in Excel?

article_img
Excel is a powerful data visualization and management tool that can be used to store, analyze, and create reports on large data. Data can be visualized or compared using different kinds of plots in Excel such as line charts, bar charts, etc. A goal line is also called a target line. It helps show actual performance against your expected target.  For example, you may want to view actual sales against the target sales to understand how the business performs against expectations. How to Create a Goal Line on a ChartFor demonstration, we will use the below table values which have monthly sales with target sales for that month, DatasetFirst, we will create a regular chart say a column chart. Steps to create a column create a column chartStep 1: Select the data Selecting DataStep 2: Click on the "Insert" tab and select column chart. Selecting Column ChartStep 3: A column chart will get created. Column Chart CreatedCreate Goal LineStep 1: Right-click on any bar and select the "change series chart type" option. Changing Series Chart TypeStep 2: In the change chart dialog box, make sure the Combo category is selected. Combo Category is SelectedStep 3: Click the dropdown of the "Target sales
Read More

How to Create a Pie of Pie Chart in Excel: Visualize Data with Two Data Sets

article_img
A Pie Chart is one of the most popular data visualization tools used in Excel to display data in a circular form. However, when you have a lot of small values, they can be hard to differentiate in a standard pie chart. This is where the pie of pie chart with two data sets in Excel comes into play. It breaks down the smallest portions of your data into a secondary pie chart, giving more clarity to the data that would otherwise be hard to see. In this article, we will show you how to create a Pie of Pie chart in Excel, customize it, and use it for better data visualization in your spreadsheets.How to Create Pie of Pie Chart in ExcelTable of ContentWhat is a Pie Chart in ExcelTypes of Pie Charts in ExcelHow to Create a Pie of Pie Chart in ExcelDesign the Pie of Pie Chart in ExcelHow to Change the Data in the Secondary PieWhy Use Pie of Pie Charts in ExcelHow to Customize the Secondary Pie ChartAdditional Customization Options for Pie of Pie ChartsHow to Use Pie of Pie Charts for Data AnalysisWhat is a Pie Chart in ExcelA Pie Chart is a type of circular statistical graphic that is used to represent data visually. It is divided into slices to illustrate numerical proportions, where each
Read More

D

Line Chart Visualization in Excel Power View

article_img
Power View is the visualization technology that brings our data to life. It is available in Microsoft Excel, on Power BI desktop or we can use it using an SQL server. With the help of power view, we can create on-the-go reporting using its interactive feature. It has versatile visualizations that enable to analyze of large data sets. In power view in excel, we can create lots of visualizations that best illustrate our data. We can start with any excel sheet or import the data from another source and convert it to any of the visualizations. Creating a VisualizationVisualization helps to handle large sets of data by performing drill-up or drill-down operations to extract the essential data. Various visualizations available are listed below: TableMapMatrixCardChart: Line, Bar, bubble, column, scatterWhile each of these can be used individually, we can combine all of these charts to provide interactive visualization. For every table or data that we have, we can easily create a visualization that best represents our data. We are going to create a Line chart using Power BI desktop. Prerequisites: Excel power view enabled via add-ins, or Power BI Desktop (for later versions)Steps for Expl
Read More

How to Add a Horizontal Line in a Chart in Excel?

Excel bar graphs or charts are a great way to graphically represent mathematical data. On top of that, sometimes, the values included in the charts are required to be compared with a target or a base value. Have you ever wondered if there is a way to graphically represent this target value? Well, in this article we will discuss how we can use a horizontal target/benchmark or baseline in an excel chart but first, let us look at the problem statement.  Need for a horizontal benchmark in an Excel chart  Let us first create a table with items and sales as attributes. This is shown below: Now follow the below steps to convert this table into a bar graph.  Step 1: Select the cells from A1 to B5. Then click on the Insert tab at the top of the ribbon and then select the column in the Illustration group. Insert tab - column option  Step 2: From the column drop-down, just click on any chart option you want, and that chart will be automatically displayed. Here, we have taken the stacked column chart option.  Sales bar graph  Now, let us say that we had the target to reach 30,000 sales for each of the items. How can we compare this visually with the current sales in this graph? Well, to do tha
Read More

How to Create a Dynamic Pie Chart in Excel?

In Excel, Pie-chart is a graphical representation of different sections or sectors of a circle based on the proportion, it holds from the complete quantity. Pie-charts are generally categorized into two types: Static Pie-chart: A pie-chart created with static or fixed input values is known to be a static pie-chart. The values of these types of pie-charts don't change over time.Dynamic Pie-chart: A pie-chart created with dynamic or changing input values is known to be a dynamic pie-chart. The values of these type of pie-charts changes over time. In this article, we will discuss how to create a dynamic excel pie chart? Creating a dynamic pie chart in Excel means creating a pie-chart that automatically(dynamically) gets updated when new values are entered into the table, which is used for creating the pie-chart. Creating a Dynamic Excel Pie Chart in Excel is very easy. We can create a dynamic pie chart using two different methods: Using offset formulaUsing TableCreating a dynamic pie chart using offset formula We can create a dynamic pie chart using the offset formula. So to this follow the following steps: Step 1: Create a table and insert values in it. Apply the offset formula to ge
Read More
three90RightbarBannerImg