Tableau : Build a scatter plot | Fundamentals

 

Please download the dataset 


Click for dataset


You’ve been asked to create a view for your company that compares average sales with average marketing expenses, broken down by product type, state, and area code, to see if there is a relationship. Build a scatter plot to answer this question: What is the relationship between average marketing expenses and average sales?

Good luck!



Create a scatter plot that compares total Sales with total Marketing expenses.

From the Data pane

  1. Drag Sales to Rows.

  2. Drag Marketing to Columns.

To show a greater level of detail, add Product Type, State, and Area Code to the view.

From the Data pane, drag the following fields to Detail on the Marks card:

  1. Product Type

  2. State

  3. Area Code

To make it easier to interpret the data, change the colors of the marks based on Product Type.

  1. From the Marks card, drag Product Type to Color.

Change the view so it displays the averages for both measures.

  1. Right-click the SUM(Marketing) field on Columns, point to Measure (Sum), and click Average.

  2. Right-click the SUM(Sales) field on Rows, point to Measure (Sum), and click Average.

Great work! You’ve created a view that compares average marketing expenses with average sales, broken down by product type, state, and area code.


Comments

Popular posts from this blog

Counters as Computation Tools: Counter Machines and Their Theoretical Significance

Tableau :Build a dual and combined axis chart | Fundamentals

Tableau:Create and customize measure filters | Fundamentals