Scatter Plots & Dual-Axis Charts
Use scatter plots to find correlations between two measures, and dual-axis charts to overlay two chart types on a single view. Both are essential for analyst-level dashboards.
Scatter plots answer one question: is there a relationship between two numeric measures? In a business context — are customers who order more frequently also spending more? Do products with higher discounts have lower profit margins? Scatter plots make these relationships visible instantly.
Dual-axis charts combine two chart types in one view. The most common business use case is a bar chart showing absolute values (revenue by month) with a line overlaid showing a rate (growth rate, margin %). This chapter covers both skills — they share the same underlying Tableau mechanics.
- How to build a scatter plot in Tableau — two measures on X and Y axes
- Adding a dimension to colour, size, and label each point
- Interpreting quadrant analysis (high/low on two dimensions)
- Adding reference lines to create four quadrants
- Building a dual-axis chart (bar + line combination)
- Synchronising axes and formatting dual-axis views
Building a scatter plot — Revenue vs Orders by Customer
1. Connect to EVIKA data (customers + orders joined). 2. Drag TOTAL_REVENUE to the Columns shelf. → Tableau places SUM(Revenue) as the X axis. 3. Drag ORDER_COUNT to the Rows shelf. → Tableau places SUM(Order Count) as the Y axis. → You will see ONE dot — the grand total for all customers. 4. To get one dot per customer, drag CUSTOMER_ID to the Detail shelf. → Now each customer is a separate point. 5. Drag CUSTOMER_SEGMENT to Color shelf. → Points are colour-coded by segment. 6. Drag REVENUE to the Size shelf. → Bigger dots = higher revenue customers (bubble chart variant). 7. Drag CUSTOMER_NAME to Label shelf → set "Min/Max" to avoid clutter. Result: each dot is one customer, positioned by revenue (X) and order frequency (Y), colour-coded by segment.
Adding reference lines to create four quadrants
A quadrant divides the scatter plot into 4 zones using two lines: one vertical (on X) and one horizontal (on Y). Step 1 — Add vertical reference line (average revenue): Analytics pane → drag Reference Line → drop on X axis (Columns) → Select: Average → Label: None → OK. → A vertical line appears at the average revenue value. Step 2 — Add horizontal reference line (average orders): Analytics pane → drag Reference Line → drop on Y axis (Rows) → Select: Average → OK. You now have 4 quadrants: Top-right : High revenue, High orders → CHAMPIONS (keep them) Top-left : Low revenue, High orders → FREQUENT but LOW VALUE Bottom-right: High revenue, Low orders → BIG SPENDERS (upsell) Bottom-left : Low revenue, Low orders → AT RISK / CHURNED EVIKA Example — C01 Priya Sharma: Revenue ₹45,000, Orders 3 → Bottom-right → Big Spender Action: send premium product recommendations.
Dual-axis chart — Revenue bars + Growth Rate line
Goal: show monthly revenue as bars AND month-over-month
growth rate as a line, on the same chart.
Step 1 — Build the bar chart:
Drag ORDER_MONTH (continuous) to Columns.
Drag REVENUE to Rows → Mark type = Bar.
Step 2 — Add a second measure to Rows:
Drag GROWTH_RATE (calculated field) to Rows alongside REVENUE.
→ Tableau creates a second panel below.
Step 3 — Make it Dual Axis:
Right-click the GROWTH_RATE pill on Rows → Dual Axis.
→ Both measures now share the same column space.
Step 4 — Synchronise axes (only if same scale):
Right-click the right Y axis → Synchronise Axis.
(If Revenue is ₹ and Growth is %, keep axes independent.)
Step 5 — Change the second mark type:
On the Marks card, two tabs appear. Click GROWTH_RATE tab
→ change Mark Type to Line.
→ Revenue = bars, Growth Rate = line.
Calculated Field for MoM Growth %:
Name: MoM Growth %
Formula:
(SUM([Revenue]) - LOOKUP(SUM([Revenue]), -1))
/ ABS(LOOKUP(SUM([Revenue]), -1))
Format: Percentage, 1 decimal place.Trend line and correlation reading on a scatter plot
After building a scatter plot: 1. Analytics pane → drag Trend Line → drop on Linear. → A line of best fit appears across all points. 2. Right-click the trend line → Describe Trend Line: Shows: slope, R², p-value, equation. 3. Interpreting R² for business: R² = 0.85 → 85% of variation in Y explained by X → strong R² = 0.30 → weak relationship, other factors matter more R² = 0.01 → no meaningful linear relationship EVIKA Example: Scatter: Total Discount Given (X) vs Profit Margin % (Y) per product. Expected finding: negative slope (R² ~0.7) — products with higher discounts have lower margins. Used to set a discount policy.
EVIKA Customer Performance — Scatter Plot Source Data
| Customer | Segment | Total Revenue (₹) | Orders | Avg Order Value (₹) | Quadrant |
|---|---|---|---|---|---|
| C01 Priya Sharma | Retail | 45,000 | 3 | 15,000 | Big Spender |
| C02 Ravi Kumar | Wholesale | 1,20,000 | 7 | 17,143 | Champion |
| C03 Sunita Patel | Retail | 28,000 | 2 | 14,000 | At Risk |
| C04 Amit Singh | Wholesale | 95,000 | 6 | 15,833 | Champion |
| C05 Meera Joshi | Retail | 15,000 | 5 | 3,000 | Frequent Low Value |
| C06 Deepak Rao | Wholesale | 75,000 | 4 | 18,750 | Big Spender |
Key Points
- ✓Scatter plots require TWO measures on X and Y axes. A dimension on the Detail shelf breaks the aggregation so each member becomes a separate point.
- ✓Quadrant analysis combines a scatter plot with two reference lines (average or constant) to categorise every point into one of four action zones.
- ✓Dual-axis charts overlay two chart types. Right-click the second measure pill on Rows → Dual Axis to combine them into one view.
- ✓Synchronise Axis only when both measures are on the same scale. Different units (₹ and %) need independent axes.
- ✓The Marks card splits into one tab per measure when you use Dual Axis — control chart type, colour, and size for each measure independently.
Tips
FAQ
You want to show monthly revenue bars AND the month-over-month growth rate as a line on the same chart. What is the correct sequence?