0
0
Tableaubi_tool~20 mins

Scatter plots in Tableau - Practice Problems & Coding Challenges

Choose your learning style9 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.