01 / 20

Marks Card
Encodings

Master the five visual encodings on the Tableau Marks card: Color, Size, Label, Detail, and Shape to build clear, insightful visualizations.

Tableau

What Is the Marks Card?

In Tableau, every data point in your view is represented by a mark: a bar, a circle, a line segment, or another shape. The Marks card is the control panel that lets you change how those marks look and what information they carry.

The Five Encoding Channels

Color
Applies hue or gradient to distinguish categories or show magnitude
Size
Scales mark area to represent quantitative differences
Label
Prints text directly on each mark for precise values
Detail
Adds granularity by splitting marks without changing appearance
Shape
Assigns a different geometric icon per category

Why Encodings Matter

A chart that only maps data to X and Y axes tells a limited story. Marks card encodings let you layer additional dimensions onto the same view, turning a simple scatter plot into a rich, multi-variable dashboard.

Sales Profit Before: X & Y only After: + Color, Size, Shape $42K

Encoding: Color

Drag a field onto Color on the Marks card. Discrete fields (dimensions) produce a distinct hue per category. Continuous fields (measures) produce a gradient from light to dark.

Discrete (Category) Tech Furniture Supplies Continuous (Measure) Low High

Encoding: Size

Drag a measure onto Size to scale each mark proportionally. Larger marks represent higher values. This works best with circles and squares: avoid using Size with lines or text marks.

$10K $30K $60K $100K

Encoding: Label

Dragging a field onto Label prints the value directly on (or near) each mark. Labels give exact numbers so viewers do not have to estimate from axes alone.

$12K Q1 $28K Q2 $45K Q3 $52K Q4

Encoding: Detail

Dragging a dimension onto Detail increases the level of detail (granularity) in the view. Each unique value of that field creates a separate mark, but no visual property changes: no new colors, sizes, or shapes appear.

Before Detail All All East West + Detail After Detail (by Customer) East West

Encoding: Shape

Drag a discrete dimension onto Shape to assign a different geometric icon per category. Shape is available only when the mark type is set to "Shape" (or "Automatic" resolves to shapes).

Technology Furniture Office Supplies Each category gets a unique shape in the legend

Detail vs. Color: Key Distinction

Detail Color
Adds marks? Yes: splits into more marks Yes: splits into more marks
Visual change? No: all marks look identical Yes: each category gets a unique hue
Creates legend? No Yes
Best for Tooltip drilldown, LOD analysis Highlighting category membership
Typical field type Dimension (discrete) Dimension or Measure

How to Apply Encodings

1
Build the base chart: place your primary dimensions and measures on Rows and Columns shelves first.
2
Identify what to highlight: ask "What additional question should this view answer?" Pick the encoding that best fits.
3
Drag the field from the data pane onto the appropriate property: Color, Size, Label, Detail, or Shape.
4
Refine: click the encoding icon on the Marks card to adjust palettes, ranges, font size, or shape assignment.
5
Check clarity: ensure the encodings do not compete. A chart using Color + Size + Shape + Label simultaneously often becomes unreadable.

Example 1: Color by Region

Scenario: You have a bar chart of Sales by Sub-Category. You want to see which Region contributes the most to each sub-category.

Sub-Category Chairs Tables Phones Binders East West South

Example 2: Size + Color Bubble Chart

Scenario: Scatter plot of Profit vs. Sales per State. Encode Quantity on Size and Category on Color to create a bubble chart showing four dimensions.

Sales Profit Tech Furn. Supplies

Example 3: Multi-Encoding Dashboard

Scenario: Build a scatter plot of Discount vs. Profit Ratio by Product. Encode Category on Shape, Segment on Color, and Sales on Size. Add Product Name to Detail for tooltip access.

1
Columns: Discount, Rows: Profit Ratio. Mark type: Shape.
2
Shape: drag [Category] to create circles, squares, and triangles per category.
3
Color: drag [Segment] (Consumer, Corporate, Home Office) for hue distinction.
4
Size: drag [Sales] to scale marks by revenue.
5
Detail: drag [Product Name] so hovering reveals exact product without adding visual clutter.

Common Mistakes

✕ Too Many Colors
Encoding a field with 20+ categories on Color creates a rainbow that no one can decode. Filter or group first.
✕ Continuous on Shape
Shape only accepts discrete fields. Dropping a measure on Shape does nothing or causes errors.
✕ Detail vs. Color Confusion
Using Detail when you meant Color leaves marks visually identical. Viewers cannot see the split.
✕ Label Overload
Labeling every mark in a dense scatter plot with hundreds of points creates unreadable overlapping text.

Summary of Encodings

Encoding Field Type Visual Effect Best Use Case
Color Discrete or Continuous Hue or Gradient Category or magnitude
Size Continuous (measure) Mark area scales Quantitative comparison
Label Any Text on mark Exact value display
Detail Discrete (dimension) None (structural) Tooltip drilldown, LOD
Shape Discrete (dimension) Geometric icon Category in scatter plots

Question 1 of 5

Which Marks card encoding changes the level of granularity without altering any visual property of the marks?

Question 2 of 5

You drag a continuous measure (Profit) onto the Color shelf. What happens?

Question 3 of 5

Which encoding is only available for discrete (dimension) fields and does not work with continuous measures?

Question 4 of 5

A scatter plot has 300 data points. You want to show exact Sales values for each point. Which approach is most appropriate?

Question 5 of 5

In Tableau, Size encodes magnitude by scaling which property of the mark?