Tableau Scatter Plot is useful to visualize the relationship between any two sets of data. In this article, we 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 Measures Region to Rows Shelf and Sales Amount from Measures region to Columns Shelf. The desktop intelligence will automatically select the scatter plot, and if it does not, please select the below option from the Show Me window.
As you see that scatter plot shows the aggregated data. But, we require to see detailed information. So, let me drag and drop the Postal Code from Dimensions Region to the Details field present in the Marks card.
Add Linear Progression to Scatter Plot in Tableau
The Scatter chart shows the relationships between numerical variables, and this example shows how to add the linear progression to it. 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.
Next, Drag and drop the Tableau Trend Line to the drawing area.
Second Approach: Right-click on the Scatter Plot report drawing area and select the Trend Lines, and click on the Show Trend Lines option.
Once you click on the Show option, it will show the Trend, along with the confidence bands.
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 and select the Trend Lines, and click on the Edit Trend Lines …option.
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.
It removes the confidence bars from Scatter Plot
Remove Trend Line
To remove the trend line from Tableau Scatter Plot, right-click on the design area will open the context menu. Please select the Trend Lines, and uncheck the Show Trend Lines option.
Add Colors to Scatter Plot
This example shows how to add colors to the Scatter Plot. For this, drag and drop the English Country Region Name from Dimensions Region to Color field in the Marks card. It means each country has its own color
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.
It will create the Trend Line or reference line for each country.
Change the Size of the Marks
Let me show you how to change the size of a Scatter Plot. For this, drag and drop the English Country Region Name from Dimensions Region to Size field in the Marks card. It means each country has its own size
Change the Shape of a ring
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.
We changed the default ring shape to a star
Create Category wise
To create a Tableau scatter plot or chart for each region, drag the English Country Region Name from Dimensions Region to Rows Shelf.
Add Labels to a Dot Plot
It shows how to add labels to each dot in a 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.