Tableau Scatter Plot

Tableau Scatter Plot is useful for visualizing the relationship between two data sets. This article will show you how to Create a Scatter Plot with an example.

How to Create a Scatter Plot in Tableau

First, drag and drop the Order Quantity from the Measures Region to the Rows Shelf and the Sales Amount from the Measures Region to Columns Shelf. The Tableau desktop intelligence will automatically select the scatter plot, and if it does not, please select the below option from the Show Me window.

Add fields to rows and columns and open show me window 1

As you see, the Tableau scatter plot shows the aggregated data. But, we require to see detailed information. So, let me drag and drop the Postal Code from the Dimensions Region to the Details field in the Marks card.

Scatter Plot 2

Add Linear Progression to Tableau Scatter Plot

The Tableau Scatter chart shows the relationships between numerical variables, and this example shows how to add linear progression. The desktop provides two different ways to add linear progression.

First Approach: You can add the progression using the Trend Line option available in it. To access this option, Please navigate to the Analytics tab.

Add Linear Progression to Scatter Plot 3

Next, Drag and drop the Tableau Trend Line to the drawing area.

Choose Linear Lines 4

Second Approach: Right-click on the Tableau Scatter Plot report drawing area, select the Trend Lines, and click on the Show Trend Lines option.

Choose Show Trend Lines option 5

Once you click on the Show option, it will show the Trend and the confidence bands.

Scatter Plot Trend Lines 6

By default, the desktop will add the confidence bands to the Trendline, but you can alter these default settings. To do so, right-click on the Plotting area, select the Trend Lines, and click on the Edit Trend Lines …option.

Select Edit Trend Lines option 7

It will open a new window called the Trend Lines Options. Here you can change the default Linear Model to Logarithmic, Exponential, Polynomial, etc. Here, we will remove the Confidence bars. To do this, please uncheck the Show Confidence bands option.

Show Confidence Bands 8

It removes the confidence bars from Scatter Plot

Scatter Plot Confidence Bands 9

Remove Trend Line

To remove the trend line from Tableau Scatter Plot, right-click on the design area to open the context menu. Please select the Trend Lines, and uncheck the Show Trend Lines option.

Unchecking Show Trend lines option 10

How to Format Scatter Chart?

The following sections helps you understand different kinds of options to change the appeal of the chart.

Add Colors to Scatter Plot

This example shows how to add colors to the Tableau Scatter Plot. For this, drag and drop the English Country Region Name from Dimensions Region to the Color field in the Marks card. It means each country has its own color.

Change Scatter Plot Colors of a Ring 11

Add Multiple Trend Lines to a Scatter Plot in Tableau

This example shows how to add the trend line for each region. Right-click on the drawing area will open the context menu. Please select the Trend Lines, and click on the Show Trend Lines option.

Show multiple Trend Lines in Scatter Plot 12

It will create the Trend Line or reference line for each country.

Add Multiple Trend Line or reference lines to Scatter Plot 13

How to change the scatter plot marks Size?

Let me show you how to change the size of a Tableau Scatter Plot. For this, drag and drop the English Country Region Name from the Dimensions Region to Size field in the Marks card. It means each country has its own size.

Change the Scatter Plot Size of the Marks 14

How to change the Scatter chart ring Shape?

To change the scatter plot default ring shape, click on the Shape field in Marks Shelf. It will open the list of available shapes. Please select the required shape.

Change the Scatter Plot Shape of a ring

We changed the default ring shape to a star

Scatter Plot 16

Create Category wise scatter plot

To create a Tableau scatter plot or chart for each region, drag the English Country Region Name from Dimensions Region to Rows Shelf.

Create category Wise Scatter Plot 17

How to add Data Labels to a Scatter Plot?

It shows how to add labels to each dot in a Tableau scatter plot. For this, drag and drop the Order Quantity from the Measures Region to the Label field in the Marks card to see the level of details data points.

Add Labels to Scatter Plot 18

About Suresh

Suresh is the founder of TutorialGateway and a freelance software developer. He specialized in Designing and Developing Windows and Web applications. The experience he gained in Programming and BI integration, and reporting tools translates into this blog. You can find him on Facebook or Twitter.