Bird
Raised Fist0
Tableaubi_tool~20 mins

Scatter plots in Tableau - Practice Problems & Coding Challenges

Choose your learning style10 modes available
Challenge - 5 Problems
🎖️
Scatter Plot Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
❓ visualization
intermediate
2:00remaining
Identify the correct scatter plot setup

You want to create a scatter plot in Tableau to analyze the relationship between Sales and Profit for different Regions. Which of the following setups will correctly create a scatter plot showing each region as a point?

ADrag Profit to Columns, Sales to Rows, and Region to Tooltip.
BDrag Region to Columns, Sales to Rows, and Profit to Color on the Marks card.
CDrag Sales to Rows, Profit to Columns, and Region to Filters.
DDrag Sales to Columns, Profit to Rows, and Region to Detail on the Marks card.
Attempts:
2 left
💡 Hint

Remember, for a scatter plot, you need two numeric measures on the axes and a dimension to identify points.

❓ dax_lod_result
intermediate
2:00remaining
Calculate average sales per customer for scatter plot

You want to create a scatter plot showing Customer Count on X-axis and Average Sales per Customer on Y-axis. Which DAX measure correctly calculates the average sales per customer?

Tableau
Average Sales per Customer = DIVIDE(SUM(Sales[SalesAmount]), DISTINCTCOUNT(Sales[CustomerID]))
AAverage Sales per Customer = DIVIDE(SUM(Sales[SalesAmount]), DISTINCTCOUNT(Sales[CustomerID]))
BAverage Sales per Customer = SUM(Sales[SalesAmount]) / COUNT(Sales[CustomerID])
CAverage Sales per Customer = AVERAGE(Sales[SalesAmount]) / DISTINCTCOUNT(Sales[CustomerID])
DAverage Sales per Customer = SUM(Sales[SalesAmount]) * DISTINCTCOUNT(Sales[CustomerID])
Attempts:
2 left
💡 Hint

Use DIVIDE to safely handle division and DISTINCTCOUNT to count unique customers.

🧠 Conceptual
advanced
2:00remaining
Best practice for color encoding in scatter plots

When adding color to a scatter plot to represent a categorical variable with many categories, what is the best practice to ensure clarity and accessibility?

AUse a distinct color for each category regardless of the number of categories.
BLimit the number of categories shown by grouping less frequent ones into an 'Other' category and use a colorblind-friendly palette.
CUse random colors for each category to make the plot colorful and engaging.
DUse only two colors alternating for all categories to keep it simple.
Attempts:
2 left
💡 Hint

Think about how too many colors can confuse viewers and accessibility for colorblind users.

🔧 Formula Fix
advanced
2:00remaining
Why does the scatter plot show overlapping points?

You created a scatter plot with Sales on X-axis and Profit on Y-axis, but many points overlap making it hard to see individual data points. What is the best way to fix this in Tableau?

AAdd jitter by creating calculated fields that add small random noise to Sales and Profit values.
BChange the mark type from Circle to Line.
CRemove the dimension from the Detail card to reduce the number of points.
DIncrease the size of the points to make them more visible.
Attempts:
2 left
💡 Hint

Think about how to separate points that have the same coordinates.

🎯 Scenario
expert
3:00remaining
Designing a scatter plot dashboard for sales performance

You are designing a dashboard with a scatter plot showing Sales vs Profit Margin by Product Category. You want to allow users to filter by Region and Year. Which approach ensures the filters correctly update the scatter plot without performance issues?

ACreate separate scatter plots for each Region and Year combination and use dashboard actions to switch between them.
BApply Region and Year filters directly on the scatter plot without context filters to keep dashboard simple.
CUse context filters for Region and Year before loading the scatter plot to reduce data volume and improve performance.
DLoad all data into the scatter plot and use quick filters for Region and Year without any optimization.
Attempts:
2 left
💡 Hint

Think about how Tableau processes filters and how to optimize large datasets.

Practice

(1/5)
1. What is the main purpose of a scatter plot in Tableau?
easy
A. To show the relationship between two numeric variables
B. To display the total sales over time
C. To list all categories in a table format
D. To create a pie chart of proportions

Solution

  1. Step 1: Understand scatter plot basics and compare options

    A scatter plot displays points representing two numeric values on X and Y axes. Only 'To show the relationship between two numeric variables' describes this core purpose.
  2. Final Answer:

    To show the relationship between two numeric variables -> Option A
  3. Quick Check:

    Scatter plot = relationship between two numbers [OK]
Hint: Scatter plots always compare two numeric values [OK]
Common Mistakes:
  • Confusing scatter plots with line charts
  • Thinking scatter plots show totals or categories only
  • Assuming scatter plots are for single variable data
2. Which of the following is the correct way to create a scatter plot in Tableau?
easy
A. Drag two dimensions to the Color shelf
B. Drag a dimension to Columns and a measure to Rows
C. Drag one numeric field to Columns and another numeric field to Rows
D. Drag a measure to Filters and a dimension to Tooltip

Solution

  1. Step 1: Recall scatter plot setup and evaluate options

    Scatter plots require two numeric fields, one on Columns and one on Rows. Only 'Drag one numeric field to Columns and another numeric field to Rows' creates a scatter plot.
  2. Final Answer:

    Drag one numeric field to Columns and another numeric field to Rows -> Option C
  3. Quick Check:

    Scatter plot = numeric on Columns and Rows [OK]
Hint: Scatter plots need two numeric fields on axes [OK]
Common Mistakes:
  • Using dimensions instead of numeric fields on axes
  • Placing fields only on Color or Tooltip shelves
  • Trying to create scatter plots with filters only
3. Given a scatter plot with Sales on Columns and Profit on Rows, what does a point far to the right but low on the Y-axis represent?
medium
A. Low sales but high profit
B. Low sales and low profit
C. High profit and high sales
D. High sales but low profit

Solution

  1. Step 1: Understand axes and interpret point position

    Columns (X) = Sales (far right = high); Rows (Y) = Profit (low = low). Thus, high sales but low profit.
  2. Final Answer:

    High sales but low profit -> Option D
  3. Quick Check:

    X=Sales high, Y=Profit low = High sales, low profit [OK]
Hint: Right = high X value, low Y = low Y value [OK]
Common Mistakes:
  • Mixing up X and Y axis meanings
  • Assuming high sales always means high profit
  • Ignoring axis labels when interpreting points
4. You created a scatter plot but all points appear stacked in one corner. What is the most likely cause?
medium
A. One or both fields are dimensions instead of measures
B. Both axes use the same numeric field
C. Color shelf is empty
D. Filters are applied incorrectly

Solution

  1. Step 1: Identify requirements and analyze stacking cause

    Scatter plots need numeric measures on axes. Dimensions cause points to stack at same coordinates.
  2. Final Answer:

    One or both fields are dimensions instead of measures -> Option A
  3. Quick Check:

    Dimensions on axes cause stacked points [OK]
Hint: Axes must have numeric measures, not dimensions [OK]
Common Mistakes:
  • Assuming color shelf affects point spread
  • Not checking field data types on axes
  • Blaming filters without verifying axes
5. You want to analyze customer segments by plotting Annual Income vs Spending Score and color points by Customer Age Group. How should you set up your scatter plot in Tableau?
hard
A. Place Customer Age Group on Filters, Annual Income on Tooltip, Spending Score on Rows
B. Place Annual Income on Columns, Spending Score on Rows, and Customer Age Group on Color
C. Place Spending Score on Columns, Customer Age Group on Rows, and Annual Income on Detail
D. Place Customer Age Group on Columns, Annual Income on Rows, and Spending Score on Color

Solution

  1. Step 1: Assign fields correctly for scatter plot with coloring

    Numerics Annual Income (Columns) and Spending Score (Rows) for axes; categorical Customer Age Group on Color for segments.
  2. Final Answer:

    Place Annual Income on Columns, Spending Score on Rows, and Customer Age Group on Color -> Option B
  3. Quick Check:

    Numeric on axes + category on Color [OK]
Hint: Numeric fields on axes, categories on Color for groups [OK]
Common Mistakes:
  • Putting categorical fields on axes instead of Color
  • Using Filters instead of Color for grouping
  • Mixing up which numeric fields go on Columns or Rows
Recommended

Ready to prove it?

Pass the test and this pattern moves unknown strong while earning +1 Grip toward your certificate.

10 questions~5 mineasy hard