Tableau : Build a scatter plot | Fundamentals
Please download the 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
Drag Sales to Rows.
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:
Product Type
State
Area Code
To make it easier to interpret the data, change the colors of the marks based on Product Type.
From the Marks card, drag Product Type to Color.
Change the view so it displays the averages for both measures.
Right-click the SUM(Marketing) field on Columns, point to Measure (Sum), and click Average.
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
Post a Comment