TDS-C01 · Question #84
You have a bar chart that has a dimension on the Columns shelf and a measure on the Rows shelf. How can you make a stacked bar chart?
The correct answer is D. Drag another dimension to Color on the Marks card. Dragging another dimension to Color splits each bar into colored segments based on the dimension's members, creating the classic stacked bar effect. Option A is wrong because adding a measure to Color encodes a continuous gradient across the whole bar rather than discrete…
Question
You have a bar chart that has a dimension on the Columns shelf and a measure on the Rows shelf. How can you make a stacked bar chart?
Exhibit
Options
- ADrag another measure to Color on the Marks card.
- BDrag another measure to the left of the measure on the Rows shelf.
- CDrag another dimension to Size on the Marks card.
- DDrag another dimension to Color on the Marks card.
How the community answered
(43 responses)- A7% (3)
- B2% (1)
- C2% (1)
- D88% (38)
Explanation
Dragging another dimension to Color splits each bar into colored segments based on the dimension's members, creating the classic stacked bar effect. Option A is wrong because adding a measure to Color encodes a continuous gradient across the whole bar rather than discrete stacked segments. Option B would create a side-by-side (grouped) bar chart with separate bars, not stacked ones. Option C adds a dimension to Size, which controls bar width - not stacking.
Memory tip: Think "stack by category, color by category" - stacked bars require a dimension (categories) on Color to break each bar into labeled slices. If you ever mix up A and D, remember: measures give you a color spectrum, dimensions give you color segments.
Topics
Community Discussion
No community discussion yet for this question.
