Sub topic 4
Finding themes with affinity mapping
This chapter assumes you have completed the previous chapter and have a set of coded observations, like the JSON record with a participant, an observation, a quote, tags, and a source. It also assumes you have run at least one interview or survey study. By the end, you will be able to turn a pile of observations into a small set of themes that you can defend with evidence.
What affinity mapping does
Affinity mapping is a way to group observations by similarity, so that patterns appear that no single note shows. You write each observation on its own card, place similar cards near each other, and then name each group. The named group is a theme.
A theme is a statement about a pattern in behavior or need that appears across several participants. "Reporting" is a topic. "People reformat exported reports because the layouts cannot be customized" is a theme. A topic tells you where to look. A theme tells you what is going on.
Affinity mapping sits between two steps in the plan. Before it, you code findings one by one. After it, you choose behavioral variables that separate users. The themes you produce here are the raw material for those variables, so the quality of your themes limits the quality of your personas.
Preparing the cards
Each card should hold one observation. If a note says "She exports to a spreadsheet and also complains about slow loading," split it into two cards. A card with two ideas will be pulled toward two groups, and you will end up arguing about where it belongs.
Put these on every card:
- The participant ID, such as P07.
- The observation in plain language, written as what the person did or said, not your interpretation.
- A short quote, if you have one.
- The source session, so you can return to the transcript.
Use the participant ID, not the name. You will count participants per theme later, and IDs make that easy.
Keep the cards close to the data. "Exports the report to a spreadsheet every Friday" is an observation. "Hates the reporting feature" is an interpretation. If you map interpretations, you map your own assumptions.
Running a mapping session
You can use sticky notes on a wall or a digital whiteboard. The steps are the same.
- Lay out all the cards in a random order, not grouped by participant. Grouping by participant makes you read each person as a story and hides cross-participant patterns.
- Pick a card and place it. Pick another. If it is similar, place it close. If not, start a new area.
- Work in silence for the first pass, if you are working with others. Talking early lets the loudest voice set the groups.
- Move cards freely. A card can change groups many times.
- When groups stabilize, name each one with a sentence describing the pattern.
- Look for groups that are too big, and split them. Look for groups with one card, and decide whether they are outliers or the start of something.
Levels of grouping
Most maps have two or three levels. Small groups of cards form themes, and related themes form larger clusters.
Stop at the level that helps the next step. Two or three levels are usually enough. Deeper trees tend to be organized around the structure of the product, not the behavior of users.
Bottom-up and top-down grouping
Bottom-up grouping lets the groups emerge from the cards. It is the default for personas because you want to learn what users do, not confirm what you expected.
Top-down grouping starts with predefined categories, such as the stages of a workflow, and sorts cards into them. It is faster, but it can only find what you already named.
A good compromise is to group bottom-up first and then compare your themes to any existing framework. Cards that do not fit the framework are often the most interesting.
Checking each theme
A theme is only useful if it is supported. For every theme, check the following.
| Check | Question | Warning sign |
|---|---|---|
| Breadth | How many participants contribute cards? | One participant supplies most of the cards |
| Consistency | Do the cards describe the same behavior? | Cards agree on the topic but not on what people do |
| Contradiction | Are there cards that disagree? | You have ignored cards that do not fit |
| Specificity | Could the theme describe any product? | The statement is vague, like "users want simplicity" |
Count participants, not cards. Ten cards from P07 are one participant's view. Three cards from three different participants are a stronger pattern than ten from one.
You can keep the evidence for each theme in a record like the claim-to-evidence format used later in the tutorial:
theme: Users reformat exported reports by hand
cards: 9
participants_supporting: [P03, P07, P09, P14]
participants_total: 14
contradicting_cards:
- participant: P11
observation: Sends the default report layout to her team without changes.
status: supported_with_exceptionsKeeping contradictions in the record matters. A theme with a known exception is more honest, and the exception often points to a different segment.
Counting and the limits of counting
You can compute simple support numbers from your coded data. This short script counts how many distinct participants support each tag.
from collections import defaultdict
observations = [
{"participant": "P03", "tags": ["reporting", "workaround"]},
{"participant": "P07", "tags": ["reporting", "workaround", "manager_visibility"]},
{"participant": "P07", "tags": ["workaround"]},
{"participant": "P09", "tags": ["reporting"]},
{"participant": "P11", "tags": ["tool_choice"]},
]
support = defaultdict(set)
for obs in observations:
for tag in obs["tags"]:
support[tag].add(obs["participant"])
total = len({obs["participant"] for obs in observations})
for tag, people in sorted(support.items(), key=lambda item: -len(item[1])):
print(f"{tag}: {len(people)} of {total} participants")Running it prints:
workaround: 2 of 4 participants
reporting: 3 of 4 participants
tool_choice: 1 of 4 participants
manager_visibility: 1 of 4 participantsNotice that P07 has two "workaround" observations but counts once. That is the point of using a set.
Treat these numbers as a check, not as a result. With qualitative samples of 8 to 15 people, "3 of 4" does not tell you how common a behavior is in the whole user base. It tells you how well your data supports the theme. Sizing comes later, with surveys and analytics.
Common errors
- Grouping by topic. Putting every card about "reporting" in one pile produces a feature list, not themes. Ask what the people in the pile do or need, and split the pile by answer.
- Grouping by participant. If each group ends up being one person, you have summarized people, not found patterns.
- Forcing every card in. Some cards are noise or outliers. Keep them in an "unplaced" area. Review it at the end, because a few unplaced cards sometimes form a theme.
- Merging too early. Two themes that share a word may describe different behaviors. Keep them apart until the cards show they are the same.
- Letting the sample decide the story. If you interviewed mostly managers, the themes reflect managers. Note who is missing.
- Confirming your hypothesis. If you find exactly the themes you expected, check whether you sorted the cards by your expectation. Ask a colleague to sort a copy without seeing your groups and compare.
Working with others
A second person improves the map. Have two people group independently, then compare. Where you disagree, read the cards aloud and decide what behavior each describes. The disagreement often shows a card that holds two ideas, or a theme name that is too broad.
Keep the group small, about three to five people. Larger groups slow the work and push toward averaged, vague themes.
What you hand to the next step
At the end you should have:
- A short list of themes, each written as a sentence about behavior.
- For each theme, the supporting participants and any contradicting cards.
- A list of unplaced cards and open questions.
The next chapter uses these themes to find behavioral variables, which are the dimensions on which participants differ, such as how often they report or how much control they have over their tools. A theme such as "users reformat exports by hand" suggests a variable like how much a person adapts the output of the tool. Participants who differ on that variable can then be placed on an axis.
Exercise
You mapped 40 cards and made a group called "Reporting problems" with 18 cards. Fourteen of those cards come from two participants. What two checks would you run before accepting this as a theme, and what would you probably change?
Show answer
First, count distinct participants, not cards. Only two participants supply most of the evidence, so the pattern is weakly supported across the sample. Second, read the cards to see whether they describe one behavior or several, since "problems" is a topic label and not a pattern. You would probably split the group into specific behavior statements (for example, reformatting exports, rechecking numbers), count participants for each, and mark any theme supported by only one or two people as needing more evidence.
Exercise
A card reads "P05 is frustrated with the dashboard." Why is this a poor card, and how would you rewrite it?
Show answer
It records an interpretation, not an observation, and it does not say what the person did or what caused the frustration. Return to the notes and rewrite it as the behavior or statement, for example "P05 opens the dashboard, cannot find last month's total, and exports the data to look it up," with a quote and the session source.