Marks Card
Encodings
Master the five visual encodings on the Tableau Marks card: Color, Size, Label, Detail, and Shape to build clear, insightful visualizations.
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
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.
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.
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.
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.
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.
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).
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
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.
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.
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.
Common Mistakes
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?