Bird
Raised Fist0
Tableaubi_tool~8 mins

Why marks control visual encoding in Tableau - Dashboard Impact

Choose your learning style10 modes available
Dashboard Mode - Why marks control visual encoding
Business Question

How do marks control the way data is shown visually in Tableau to help us understand sales performance?

Sample Data
RegionProductSalesProfit
EastChair30050
EastTable20030
WestChair40070
WestTable15020
SouthChair25040
SouthTable30060
Dashboard Components
  • KPI Card: Total Sales
    Formula: SUM([Sales]) = 1600
    Description: Shows total sales across all regions and products.
  • Bar Chart: Sales by Region
    Marks: Bars
    Encoding: Length of bar = SUM([Sales])
    Description: Visualizes sales totals per region.
  • Color Encoding on Bar Chart
    Marks: Color
    Encoding: Color intensity = SUM([Profit])
    Description: Shows profit magnitude by color shade on bars.
  • Shape Encoding: Product Type
    Marks: Shape
    Encoding: Different shapes for Chair and Table
    Description: Distinguishes product types visually.
  • Tooltip
    Marks: Tooltip
    Encoding: Shows exact Sales and Profit values when hovering over bars.
Dashboard Layout
+----------------------+---------------------+
|      Total Sales      |   Sales by Region   |
|       (KPI Card)      |     (Bar Chart)     |
+----------------------+---------------------+
Interactivity

Filter by Region or Product updates the bar chart and KPI card. Hovering on bars shows tooltips with detailed sales and profit. Color and shape marks update automatically to reflect filtered data.

Self Check

Add a filter for Region = 'East'. Which components update?

  • Total Sales KPI updates to show sales only for East region (300 + 200 = 500).
  • Bar Chart updates to show bars only for East region.
  • Color and shape encoding update to reflect profit and product types for East region.
Key Result
Dashboard showing how marks control visual encoding to display sales and profit by region and product.

Practice

(1/5)
1. In Tableau, why do marks control visual encoding in a chart?
easy
A. Because marks store the raw data values in the database.
B. Because marks define how data points appear using color, size, and shape.
C. Because marks create new data tables for analysis.
D. Because marks automatically generate SQL queries.

Solution

  1. Step 1: Understand the role of marks in Tableau

    Marks represent each data point visually by controlling attributes like color, size, and shape.
  2. Step 2: Differentiate marks from data storage or queries

    Marks do not store data or generate queries; they only control visual appearance.
  3. Final Answer:

    Because marks define how data points appear using color, size, and shape. -> Option B
  4. Quick Check:

    Marks control visual appearance = A [OK]
Hint: Remember: marks = visual look of data points [OK]
Common Mistakes:
  • Confusing marks with data storage
  • Thinking marks generate queries
  • Believing marks create new data tables
2. Which of the following is the correct way to change the color of marks in Tableau?
easy
A. Edit the data table to add a color column.
B. Right-click the data source and select 'Change Color'.
C. Drag a dimension or measure to the Color shelf on the Marks card.
D. Use the Filters shelf to set mark colors.

Solution

  1. Step 1: Identify how to assign color in Tableau

    Colors are assigned by dragging fields to the Color shelf on the Marks card.
  2. Step 2: Eliminate incorrect methods

    Right-clicking data source or editing tables does not change mark colors; Filters control data visibility, not color.
  3. Final Answer:

    Drag a dimension or measure to the Color shelf on the Marks card. -> Option C
  4. Quick Check:

    Color shelf controls mark color = C [OK]
Hint: Use the Color shelf on Marks card to change colors [OK]
Common Mistakes:
  • Trying to change color via data source options
  • Using Filters shelf to set colors
  • Editing data tables instead of marks
3. Given a Tableau scatter plot with Sales on Columns and Profit on Rows, what happens if you drag the Category dimension to the Shape shelf on the Marks card?
medium
A. Each data point changes shape based on its Category value.
B. All data points become the same shape regardless of Category.
C. The plot filters to show only one Category.
D. The size of marks changes based on Category.

Solution

  1. Step 1: Understand the effect of dragging a dimension to Shape shelf

    Dragging Category to Shape assigns different shapes to marks based on Category values.
  2. Step 2: Clarify what does not happen

    It does not filter data or change size; all categories remain visible with distinct shapes.
  3. Final Answer:

    Each data point changes shape based on its Category value. -> Option A
  4. Quick Check:

    Shape shelf assigns shapes by dimension = A [OK]
Hint: Shape shelf changes mark shapes by category [OK]
Common Mistakes:
  • Thinking it filters data
  • Confusing shape with size
  • Assuming all marks become identical
4. You tried to change mark colors by dragging a measure to the Size shelf instead of the Color shelf. What is the likely result?
medium
A. Marks will change size based on the measure, but color stays the same.
B. Marks will change color based on the measure automatically.
C. Tableau will show an error and not allow the change.
D. Marks will disappear from the view.

Solution

  1. Step 1: Understand the function of the Size shelf

    The Size shelf controls the size of marks, not their color.
  2. Step 2: Predict the effect of dragging a measure to Size

    Marks will resize based on the measure values, but color remains unchanged.
  3. Final Answer:

    Marks will change size based on the measure, but color stays the same. -> Option A
  4. Quick Check:

    Size shelf controls size, not color = B [OK]
Hint: Size shelf changes size, not color [OK]
Common Mistakes:
  • Expecting color to change from Size shelf
  • Thinking Tableau shows an error
  • Assuming marks disappear
5. You want to create a Tableau dashboard showing sales performance by region with marks colored by profit and sized by sales volume. Which combination of marks card controls should you use to achieve this?
hard
A. Drag Profit to Filters shelf and Sales Volume to Tooltip shelf.
B. Drag Sales Volume to Color shelf and Profit to Size shelf on the Marks card.
C. Drag Region to Color shelf and Sales Volume to Shape shelf on the Marks card.
D. Drag Profit to Color shelf and Sales Volume to Size shelf on the Marks card.

Solution

  1. Step 1: Assign color based on profit

    Drag the Profit measure to the Color shelf to color marks by profit values.
  2. Step 2: Assign size based on sales volume

    Drag Sales Volume measure to the Size shelf to size marks by sales volume.
  3. Step 3: Verify other options

    Drag Sales Volume to Color shelf and Profit to Size shelf on the Marks card reverses color and size roles; Drag Region to Color shelf and Sales Volume to Shape shelf on the Marks card uses Region for color which is not requested; Drag Profit to Filters shelf and Sales Volume to Tooltip shelf uses Filters and Tooltip incorrectly.
  4. Final Answer:

    Drag Profit to Color shelf and Sales Volume to Size shelf on the Marks card. -> Option D
  5. Quick Check:

    Color = Profit, Size = Sales Volume = D [OK]
Hint: Color for profit, size for sales volume on Marks card [OK]
Common Mistakes:
  • Swapping color and size fields
  • Using dimension instead of measure for color
  • Misusing Filters or Tooltip for visual encoding
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