The Wayback Machine - https://web.archive.org/web/20250228111839/https://www.geeksforgeeks.org/scatter-plot-in-excel/
Open In App

How to Create a Scatter Plot In Excel: Step by Step Guide

Last Updated: 19 Dec, 2024

A

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

A scatter plot in Excel is a powerful visualization tool for identifying trends, relationships, and patterns between two variables. By plotting data points on an Excel XY scatter plot, you can gain insights into correlations and outliers, making it an essential tool for data analysis. Whether you’re comparing sales and expenses, analyzing scientific data, or forecasting trends, scatter plots provide a clear picture of how two datasets interact. In this guide, we’ll walk you through the steps to create a scatter chart in Excel, including tips for switching axes and applying advanced techniques to refine your visuals.

Disclaimer: Always ensure your data is accurate and well-organized to produce reliable and insightful visualizations.

How to Create a Scatter Plot In Excel

Scatter Plot In Excel

How to Make a Scatter Plot in Excel

Learning how to build a scatter plot in Excel is simple and allows you to visually analyze relationships between data points. Follow these steps to create a scatter graph in Excel and customize your scatter chart:

Step 1: Prepare Your Data

Organize your data into two columns:

  • One column for the X-axis values (independent variable).
  • The second column for the Y-axis values (dependent variable).

Example:

Advertising Spend (X) Sales Revenue (Y)
500 2000
1000 4000
1500 5500
2000 7000
2500 8000

Step 2: Select the Data

  • Highlight both columns of data, including the headers.
  • Ensure that the data is clean, with no blank cells or text in numerical ranges.
How to Create a Scatter Plot In Excel

Select the Data

Step 3: Customize the Chart

  • Go to the Insert tab on the Excel ribbon.
  • In the Charts group, find the Insert Scatter (X, Y) Chart dropdown.
  • Select one of the following Scatter Plot options:

Scatter Chart(standard, with just points)

Displays individual data points (dots) to show relationships or correlations between two variables.

How to Create a Scatter Plot In Excel

Basic Scatter Plot

Scatter Plot with Smooth Lines

Connects data points with smooth, curved lines to display the overall trend. It is Ideal for showing non-linear relationships or smooth transitions in data.

How to Create a Scatter Plot In Excel

Scatter Plot with Smooth Lines

Scatter Plot with Straight Lines

Connects data points with straight lines to emphasize trends or links between points. It is Used when you want to clearly show data progression or paths.

How to Create a Scatter Plot In Excel

Scatter Plot with Straight Lines

Step 4: Customizing XY scatter plot

1: Add Chart Title

  • Click on the default Chart Title at the top of the chart.
  • Type a meaningful title, such as “Advertising Spend vs. Sales Revenue”.
How to Create a Scatter Plot In Excel

Add Chart Title

2: Add Axis Titles

  • Click the chart to activate the Chart Elements button (the “+” icon).
  • Check the Axis Titles box.

Rename the titles:

  • Horizontal Axis: “Advertising Spend (USD)”.
  • Vertical Axis: “Sales Revenue (USD)”.
How to Create a Scatter Plot In Excel

Click on the Small “+” Icon >> Check the “Add Titles” Checkbox >> Add Axis Titles

3: Format the Data Points

Right-click on any data point (dot) and select Format Data Series.

Customize the data points:

  • Change the color of the dots.
  • Adjust the marker style (e.g., circles, squares, or triangles).
  • Increase or decrease the marker size for visibility.
How to Create a Scatter Plot In Excel

Right- Click >> Select ” Format Data Series”>> Go to Markers >> Change the Color

4: Add Data Labels (Optional)

To display values next to the data points:

  • Right-click on a data point.
  • Select Add Data Labels.
  • Move or customize the labels for clarity.
How to Create a Scatter Plot In Excel

Right Click >> Select “Add Data Labels” >> Preview Results

5: Add a Trendline

If you want to visualize the overall trend in the data:

  • Right-click on any data point.
  • Select Add Trendline.

In the Format Trendline pane:

  • Choose Linear for a straight line.
  • Check Display Equation on chart to see the line equation.
  • Check R-squared value to measure the correlation strength.
How to Create a Scatter Plot In Excel

Right Click>> Select “Add Trendline”>> Select Linear and Check the Box “Display Equation on Chart” and ” Display R-Squared Value on Chart”

6: Adjust Axis Scale

  • Right-click on the X-axis or Y-axis.
  • Choose Format Axis.
  • Adjust the Minimum and Maximum Bounds to focus on a specific range.
How to Create a Scatter Plot In Excel

Right Click >> Select “Format Axis”>> Adjust the Minimum and Maximum Bounds

Step 5: Save and Update the Scatter Plot

  • Save your Excel workbook to keep your chart.
  • If you update the data in the table, the Scatter Plot will automatically refresh.

How to Switch X and Y Axes in a Scatter Plot

In an Excel XY scatter plot, Excel plots the independent variable on the horizontal (X-axis) and the dependent variable on the vertical (Y-axis). If you need to swap the X and Y axes, this scatter plot tutorial makes it easy with the following steps:

Step 1: Select the Scatter Chart

Click on the chart to activate it. Small handles will appear around the chart area.

Step 2: Open the “Select Data Source” Window

Right-click on the chart and choose “Select Data” from the context menu.

How to Create a Scatter Plot In Excel

Right – Click and Click on “Select Data”

Step 3: Edit the Data Series

In the Select Data Source window, choose the series you want to swap and click Edit.

How to Create a Scatter Plot In Excel

Click on the Edit Series

Step 4: Swap the X and Y Values

  • In the Edit Series dialog box:
  • For Series X values, select the range that was originally for the Y values.
  • For Series Y values, select the range that was originally for the X values.
  • Click OK to apply changes.
How to Create a Scatter Plot In Excel

Swap the Values

Step 5: Close and Refresh

  • Click OK again to close the Select Data Source window.
  • Your X and Y axes will now be swapped in the scatter chart.
How to Create a Scatter Plot In Excel

Preview Results

Advanced Techniques for Scatter Plots

When working with a scatter chart in Excel, you can use advanced techniques to make your analysis more insightful and visually appealing.

1. Add Trendlines and Analyze R-Squared Values

  • Add a Trendline: Insert a trendline to visualize the overall direction or pattern of data. In Excel, right-click on a data series and choose Add Trendline.
  • R-Squared Value: Enable the R-squared value to measure how well the trendline fits the data. Higher values (close to 1) indicate a stronger correlation.
  • Types of Trendlines: Choose between linear, polynomial, or exponential trendlines based on your dataset.

2. Combine Scatter Plots with Other Chart Types

  • Overlay Line Charts: Combine scatter plots with line charts to show trends or averages alongside individual data points.
  • Use Dual Axes: Add a secondary axis to compare variables with different scales.
  • Layer with Bar Charts: Pair scatter plots with bar charts to provide context, such as categorical data alongside continuous variables.

These techniques enhance the depth of your scatter plot analysis and make your visualizations more impactful.

Also Read:

Conclusion

Mastering scatter plots in Excel allows you to visually explore and analyze data relationships with ease. From basic scatter plot tutorials to advanced techniques, these tools enable clearer communication of insights and data-driven decisions. By learning how to make and customize Excel charts for trends and patterns, you’re not just creating visuals—you’re crafting a deeper understanding of your data.

FAQs on Creating Scatter Plots in Excel

How to add a secondary axis in a scatter plot?

  • Create a scatter plot in Excel or other tools.
  • Select the data series you want to display on the secondary axis.
  • Right-click and choose Format Data Series, then select Secondary Axis.
  • Adjust the secondary axis scale as needed for better visualization.

How to export scatter plots to Word or PowerPoint?

  • Create the scatter plot in your tool (e.g., Excel).
  • Right-click the chart and select Copy.
  • Open Word or PowerPoint, then paste the chart using Ctrl + V (Windows) or Cmd + V (Mac).
  • Adjust the size and position in the document or slide.

How to handle missing data points in a scatter plot?

  • Ignore Missing Data: Most tools skip missing values automatically, leaving gaps in the scatter plot.
  • Interpolate Data: Use linear interpolation to estimate and fill missing data points for smoother visuals.
  • Replace with Averages: If appropriate, replace missing values with the mean or median of the dataset to minimize gaps.
  • Highlight Missing Data: Clearly indicate gaps in the chart to maintain data transparency.

When to Use Scatter Plots?

Following are some of the useful scenarios:

  • Identifying Relationships: Scatter plots help you to see the relationship between two variables. You can easily identify if the variables have a positive, negative, or no correlation.
  • Spotting Outliers: It becomes easy to spot outliers or unusual data points with the help of Scatter plots.
  • Visualizing Patterns: Scatter plots help you to identify the patterns or trends in your data, such as linear, quadratic, or exponential relationships.
  • Comparing scatter Data Sets: It is easy to determine what is the relationship between the two data sets.

How do I make a scatter plot with two sets of data in Excel?

Select your two sets of numerical data (X and Y values) > Go to the Insert tab > Click Insert Scatter (X, Y) Chart > Choose a scatter plot type. Excel will plot the data points for both sets.

How to create a correlation scatter plot in Excel?

To Create a Correlation Scatter Plot in Excel:

  • Select two sets of numerical data.
  • Go to the Insert tab > Choose Insert Scatter (X, Y) Chart > Select a scatter plot.

How to switch the X and Y axes in a Scatter Plot?

Click on the ” SwitchRow/Column ” button in the “Chart Design” tab to switch the X and Y axes in a Scatter Plot.

Can a Scatter plot be used for categorized Data?

No, Scatter plots can’t be used for Categorized data. Scatter plots are generally used for numerical data to represent the relationship between two continuous variables.



A

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

How to Create a Scatter Plot with Lines in Google Sheets: Step-by-Step Guide

article_img
Google Sheets is a powerful tool for data analysis and visualization, providing various features to help you understand your data better. One of these features is the ability to create scatter plots, which can visualize the relationship between two data sets. Sometimes, you may want to add a line of best fit or a trendline to make the data patterns clearer.In this article, you are going to learn about how to create a scatter plot in Google Sheets and add a line for a deeper data analysis.Table of ContentHow to Create a Scatter Plot in Google SheetsHow to Add a Trendline to a Scatter Chart in Google Sheet How to Edit Scatter Plots in Google SheetsHow to Remove Scatter Plots in Google SheetsHow to Create a Scatter Plot in Google SheetsFollow these steps to create a scatter plot in Google Sheets quickly and easily.Step 1: Insert your DataBefore you can create a scatter plot with a line in Google Sheets, you need to have your data ready. Make sure you have two columns of data in your spreadsheet, one for the x-axis (independent variable) and one for the y-axis (dependent variable). In our example, we'll use a Salary dataset of x and y values.Overview of the datasetStep 2: Create a Scat
Read More

How to Create an X-Y Scatter Plot 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. To draw an X-Y plot, it is recommended to use a scatter plot. Scatter chart It is used to understand the correlation between two data variables. A dot is used to represent the values where each dot represents two values (X-axis value and Y-axis value). This chart can be used to visualize the trend and relation between two values over time. For the purpose of demonstration we will use the below-given dataset, It has X values and the corresponding Y values. Drawing X-Y Plot using Excel Step 1: Select the data Step 2: From the Insert tab, select scatter chart with a marker. Output Steps to make changes in the graph Step 1: Click on the chart title Step 2: The chart format menu will open. Make desired changes. For example, change the chart title. Output You can see that the chart title is changed to X-y plot.
Read More

How to Find, Highlight, and Label a Data Point in Excel Scatter Plot?

article_img
Scatter plots are one of the most frequently used charts for data analysis. There can be situations when you want to highlight a particular data point from the scatter chart that contains hundreds of data points. This seems to be a tedious task but it could be achieved very easily in excel. We will learn about how to find, highlight and label a data point in an excel Scatter plot. Use Hover for Small Data For table size less than equal to 10, this technique is quite efficient. For example, you are given a Pressure Vs Temperature plot. The number of rows in the table is 6. Simply hover on the data points in the scatter chart. Here we can see that the point hovered has a pressure of 5 and a temperature of 12. This method is not efficient when we have more than 2 columns in our table or the number of rows greater than 10. Using Data Labels To highlight the data points for more information we can use data labels. These help us to make data more understandable. This technique is efficient if the number of rows in the given data source is less than 20. It's been observed that if the number of rows is high then the data labels make complete chaos. The data labels start overlapping a
Read More

How to Create a Graph in Excel: A Step-by-Step Guide for Beginners

article_img
Anyone who wants to quickly make observations and represent them graphically should know how to create graphs with Excel. Whether it is the preparation of business analysis papers, academic research documents or financial reports among other things, learning how to make graphs in Excel can significantly improve the way you present information derived from different sources. By exploring Excel’s vast array of options, you have what it takes to convert raw information into coherent visuals that immediately reveal any trends, consistencies, and anomalies, also we will encounter to create charts in Excel from data.In this article, we will learn to make graphs in Excel or create a graph in Excel along with the several categories of graphs such as creating pie graphs in Excel, bar graphs in Excel and so on.Table of ContentWhat is a Chart or Graph in ExcelHow to Create Charts in ExcelType of Charts in MS ExcelHow to Create Surface Graph in MS ExcelHow to Create Histogram in ExcelHow to Format the ChartHow to Change Chart TypeWhat Are Charts and Graphs in ExcelCharts and graphs in Excel are powerful tools for data visualization. They help you present and analyze data graphically, making it
Read More

A

How to Create a Pie Chart in Excel - Step by Step Guide

article_img
Pie charts are an excellent way to visualize proportions and illustrate how different components contribute to a whole. Whether you're analyzing market share, budget allocation, or survey results, pie charts make complex data easily understandable at a glance. This guide will walk you through how to make a pie chart in Excel, covering the basics of chart creation, best practices for pie charts, and tips to ensure your visuals are both clear and impactful. Mastering this skill will help you present data more effectively in reports, presentations, or collaborative projects.Disclaimer: Always verify the accuracy of your data to avoid misleading visualizations and ensure clear insights.How to Create a Pie Chart in ExcelWhat is a Pie ChartA Pie Chart is a circular graph divided into slices where each slice represents a category’s contribution to the total value. It’s best used when you want to display data as percentages or proportions.Pie Chart ExampleThis is the data of students present (out of a total of 60 students) in the class in a particular week. How to Make a Pie Chart in ExcelIf you’re looking to create a Pie Chart in Excel, follow these simple steps to visualize your data eff
Read More

How to Create Flowchart in Excel: Step-by-Step Guide

article_img
A Flowchart is a valuable tool for visualizing processes, workflows, or decision-making paths, making it easier to communicate ideas and identify improvements. This article provides a clear, step-by-step guide on how to create a Flowchart in Excel, using its shapes and formatting tools to design customized diagrams. Whether you’re mapping a business process, illustrating a project workflow, or teaching a concept, this guide will help you create professional and effective Flowcharts to simplify complex information.Disclaimer: Ensure your process steps are accurate and well-structured to create a clear and meaningful Flowchart.What is a FlowchartA Flowchart is a diagram that represents a process, workflow, or decision-making path using symbols like rectangles, arrows, and diamonds. Excel, though primarily a data tool, provides tools like Shapes and SmartArt to create detailed and professional flowcharts.Basic Shapes used in Excel FlowchartsYou don’t need to be an expert in flowchart programming. All you need are the basic building blocks to make your flowchart clear and easy to understand. The four main shapes we’ll use in this tutorial are:SymbolMeaningOvalStart or End of a processR
Read More

How to Create a Form in Excel - A Step by Step Guide

article_img
Forms in Excel provide an effective way to enhance data collection, organization, and workflow management. From basic data entry to advanced forms powered by VBA, Excel offers flexible options to cater to diverse needs such as business reporting, project tracking, and customer feedback. Features like dropdowns for structured input, VBA for automation, and integration with online forms allow for real-time updates and improved functionality. This guide covers the various types of forms you can create in Excel, offering step-by-step instructions and practical tips to make the most of this versatile tool.Table of ContentWhat Are Excel FormsTypes of Forms You Can Create in ExcelHow to Create a Form in Excel: Step-by-Step GuideHow to Create an Online Form Linked to Excel (Microsoft Forms)Tips for Creating Effective Forms in ExcelPractical Applications of Excel FormsWhat Are Excel FormsExcel Forms are tools within Microsoft Excel that allow users to input, edit, and manage data more efficiently in a structured format. These forms are particularly useful for creating interactive spreadsheets, streamlining data entry, and minimizing errors.Why Use Excel Forms?Save time by automating repetit
Read More

How to Use the UNIQUE Function in Excel: Step by Step Guide

article_img
Do you struggle with manually removing duplicates in Excel? The UNIQUE function is here to make your life easier! In this article, you’ll learn how to quickly extract unique values from a list or range using the Excel UNIQUE function. Let’s get into the step-by-step process, formula examples, and everything you need to know. How to Use the UNIQUE Function in ExcelTable of ContentWhat is the Unique Function in ExcelKey Features of the UNIQUE FunctionHow to Use the UNIQUE Function to Remove DuplicatesHow Does the UNIQUE Function Work?Advanced Usage of the UNIQUE FunctionWhat is the Unique Function in ExcelThe UNIQUE function in Excel is a powerful tool that allows you to automatically filter out duplicate values from your data. Whether you’re dealing with a long list of names, numbers, or other data, the UNIQUE function extracts only the distinct entries, saving you time and effort. This function is part of Excel's dynamic array features and is particularly useful when working with large datasets, making data analysis and reporting a breeze.Key Features of the UNIQUE FunctionThe UNIQUE function in Excel is a part of the dynamic array features and has a few vital information to main
Read More

How to use Copilot in Excel with Examples (Step-by-Step Guide)

article_img
As of 2024, Microsoft introduced a new feature called Copilot for Excel, part of the broader Microsoft 365 suite, designed to enhance productivity and streamline data manipulation using AI-powered tools. The introduction of Excel Copilot is transforming how professionals across industries manage and interpret their data. This AI-driven tool enhances productivity, automates repetitive tasks, and simplifies complex data analysis. In this detailed guide, we'll explore how to effectively use Copilot in Excel, complete with practical examples to illustrate its capabilities.How to use Copilot in Excel with ExamplesTable of ContentWhat is Copilot in Excel?How to Access Copilot in ExcelExcel Copilot Advantages in ExcelHow to Use Copilot in Excel (November 2024)Different Ways to use Copilot in Excel (Including Copilot Prompt)What is Copilot in Excel?Microsoft Excel Copilot is an innovative, AI-powered feature designed to enhance productivity and streamline data processing tasks within Excel. As a part of the Microsoft 365 suite, Excel Copilot transforms how users interact with data by offering advanced artificial intelligence capabilities that simplify complex operations, automate repetitiv
Read More

How to Insert a Checkbox in Excel: Step-by-Step Guide

article_img
How to Add Checkboxes in Excel: Quick Steps Enable the Developer Tab >>Go to Developer TabControl Group >> Click InsertSelect Checkboxes >>Place the CheckboxesLink the Checkbox to a CellAdding interactive elements like checkboxes to your spreadsheets can significantly improve functionality and organization. Whether you're managing task lists, tracking attendance, or creating interactive reports, learning how to insert a checkbox in Excel is a valuable skill. This guide provides a detailed explanation of how to add checkboxes in Excel, covering everything from enabling developer tools to formatting and customizing the checkboxes to suit your needs.Disclaimer: Ensure your data is well-structured to maximize the benefits of using checkboxes in your spreadsheet.Insert a Checkbox in ExcelTable of ContentWhat is a Checkbox in ExcelHow to Add a Checkbox in Excel : Step-by-Step GuideHow to Get the Developer Tab in the Excel RibbonHow to Insert a Checkbox in Excel How to Customize the Checkbox in ExcelHow to Insert Checkboxes in Excel without Developer Tab How to Link a Checkbox to a Cell How to Insert Multiple Checkboxes in Excel How to Create To-Do List Using Excel Check
Read More
three90RightbarBannerImg