Tutorials › Tableau › Scatter Plots & Dual-Axis Charts

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.

What you will learn
  • 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

CustomerSegmentTotal Revenue (₹)OrdersAvg Order Value (₹)Quadrant
C01 Priya SharmaRetail45,000315,000Big Spender
C02 Ravi KumarWholesale1,20,000717,143Champion
C03 Sunita PatelRetail28,000214,000At Risk
C04 Amit SinghWholesale95,000615,833Champion
C05 Meera JoshiRetail15,00053,000Frequent Low Value
C06 Deepak RaoWholesale75,000418,750Big 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

💡 Jitter overlapping points: if many dots stack on the same coordinates, set Opacity to 60% on the Color shelf to reveal density through transparency.
💡 Label only the extreme points: drag the measure to the Label shelf → set Marks to Label → Min/Max. Annotates only the highest and lowest without cluttering.
💡 For dual-axis, give the right Y axis a distinct colour that matches the line — readers need to know which scale belongs to which series.
💡 Use Trend Line p-value as a sanity check before presenting scatter insights. If p > 0.05, the correlation may be noise — say "directional pattern" rather than "correlation".

FAQ

My scatter plot shows only one dot — how do I get one dot per item?
You are seeing the grand total aggregate. To disaggregate, drag a dimension (Customer ID, Product Name, etc.) to the Detail shelf on the Marks card. This tells Tableau to compute the X and Y measures independently for each member of that dimension.
What is the difference between Dual Axis and Blended Axis?
Dual Axis places each measure on its own Y axis — left and right — allowing independent scales. Blended Axis (dragging a second measure onto the existing axis) places both on the SAME scale. Use Dual Axis when measures have different units or ranges; use Blended Axis when both are in the same unit.
How do I add click-through from a scatter plot to a detail view?
Use a Dashboard Action: Dashboard menu → Actions → Add → Filter Action. Set the scatter plot as the Source Sheet and the detail view as the Target Sheet. When a user clicks a dot, the detail view filters to that customer or product.
Practice Question

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?

✅ Drag both measures to Rows, right-click the second pill → Dual Axis, then change the second mark type to Line
Drag both measures to Columns, use the Analytics pane to add a trend line
Create a combined field using Revenue + Growth Rate and drag it to Rows
Use the Pages shelf to animate between the two measures
Explanation: The correct sequence is: (1) place both measures on the Rows shelf, (2) right-click the second measure pill and select Dual Axis — this overlays them in one chart space, (3) on the Marks card, click the second measure tab and change its mark type to Line. This gives you bars for the first measure and a line for the second, sharing the same X axis.
← Line Charts & Time-Series AnalysisMaps & Geographical Analysis →
Want live Tableau training?
EVIKA Academy, Noida Sector 51 — hands-on projects, job-ready curriculum
Book a Free Demo →