Creating scatter plots

Scatter plots are often used to identify any correlation or observe relationships between two variables. By looking at these plots, the reader can quickly observe any trends, if present. A scatter plot is a very useful tool in any analyst's toolbox.

Getting ready

For this recipe, let's use the sample file Sample – Superstore Sales (Excel). Open a new worksheet and select Sample – Superstore Sales (Excel) as the data source.

How to do it....

Once the data is loaded, perform the following steps to create a scatter plot of two measures:

  1. From the top toolbar, under Analysis, uncheck Aggregate Measures.
  2. Drag-and-drop Profit into the Columns shelf.
  3. Drag-and-drop Sales into the Rows shelf. The generated scatter plot should look like the ...

Get Tableau: Creating Interactive Data Visualizations now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.