Sub topic 9
The affinity mapping method
This chapter assumes you can run interviews or usability sessions, that you have taken session notes, and that you know the difference between qualitative and quantitative data. It also assumes your notes are already split into atomic observations. That means one observation per note, with a participant ID and a note ID.
What affinity mapping is
Affinity mapping is a method for grouping many small notes by similarity. You read each note, place it near notes that seem related, and let groups form from the material itself. You do not start with a fixed list of categories. The result is a map of clusters. Each cluster is a candidate pattern in your data.
The method is a physical or digital version of sorting. Its value comes from three properties:
- It forces you to look at every note, not only the memorable ones.
- It makes your grouping decisions visible, so others can challenge them.
- It keeps notes attached to their source, so any cluster can be checked against evidence.
Affinity mapping is the clustering step inside a larger thematic analysis. Coding gives your notes labels. The map gives those notes spatial structure. Themes come later, when you interpret what the clusters mean.
What you need before you start
Prepare these items before the first sort:
- One note per observation, written so it makes sense on its own.
- A note ID and a participant ID on every note, such as
n2andP2. - Optional open codes on each note, if you have already coded.
- A surface large enough to hold all notes: a wall, a table, or a digital whiteboard.
- Time without interruptions. A map for 15 sessions usually takes a half day to sort and review.
If notes still contain two observations each, split them first. A note that says "Could not find import and liked the dashboard" cannot belong to two clusters at once.
The method step by step
1. Lay out the notes
Put every note on the surface in no particular order. Shuffle them if they came from sessions in sequence. Sequence order pulls you toward grouping by participant, and you want grouping by meaning.
2. Read without sorting
Scan all notes once. You are not grouping yet. This is a short familiarization pass over the whole set.
3. Place the first notes
Pick any note and read it. Find a note that is related and put them side by side. Take a third note. Does it belong near the first pair, or somewhere else? Continue one note at a time.
4. Sort silently first
If several people work on the map, do the first pass in silence. People move notes without discussing them. This prevents the most senior or most talkative person from setting the groups. Moving a note someone else placed is allowed. If a note keeps moving back and forth, mark it for discussion.
5. Let clusters grow, then check them
When a group reaches about five to eight notes, reread it. Ask whether each note belongs for the same reason as the others. Move the ones that fit loosely.
6. Park outliers
Some notes fit nowhere. Put them in a separate area called "unsorted." Do not force them into a cluster. Singletons are sometimes noise and sometimes the start of something real. You will review them at the end.
7. Label clusters, then discuss
Only after the groups settle do you write a label for each one. The next chapters cover labeling and the move from clusters to themes. For now, a working label is enough, such as "can't find import."
The flow looks like this:
Sorting by similarity, not by topic
The main judgment call is what "similar" means. Notes can be similar in several ways:
| Similarity basis | Example notes | Result |
|---|---|---|
| Same feature | "Couldn't find export" and "Liked the export format" | Groups good and bad together under "export" |
| Same behavior | "Searched the menu twice" and "Asked a coworker where it was" | Groups by what people did |
| Same cause | "Label said 'Sync', I expected 'Import'" and "Icon looked like a download" | Groups by why it happened |
Grouping by feature is easy, but it yields topics. A pile called "export" tells you where problems occur, not what they mean. Grouping by behavior or cause produces clusters closer to themes. When a cluster contains both praise and complaints about one feature, ask whether it is really one pattern or two.
Connecting the map to codes
If you coded your notes first, you have two ways to use the codes. You can sort notes by their codes, or you can sort by reading and use the codes as a check afterwards. A short script can show how the two views compare:
from collections import defaultdict
notes = [
{"id": "n1", "participant": "P1", "codes": ["setup_friction"]},
{"id": "n2", "participant": "P2", "codes": ["setup_friction", "navigation_confusion"]},
{"id": "n3", "participant": "P2", "codes": ["sharing_unclear"]},
{"id": "n4", "participant": "P3", "codes": ["navigation_confusion"]},
]
# Clusters you formed on the board: cluster label -> note ids
clusters = {
"Can't find things": ["n2", "n4"],
"Setup feels long": ["n1"],
"Sharing is unclear": ["n3"],
}
codes_by_note = {n["id"]: n["codes"] for n in notes}
for label, ids in clusters.items():
seen = defaultdict(int)
for note_id in ids:
for code in codes_by_note[note_id]:
seen[code] += 1
print(label, dict(seen))A cluster whose notes carry many different codes may be too loose. A code spread across several clusters may be too broad, or it may reveal a pattern you had not named. Either result is information. Neither means you should force the map to match the codes.
Working with several people
Affinity mapping often happens in a group. These practices keep it productive:
- Sort silently first, then discuss.
- Agree on one rule for splitting: if two people disagree about a cluster, split it and see whether both halves hold up.
- Rotate who moves notes, so one person's hands do not decide the map.
- Photograph or export the map after each stage. You will want to show how it changed.
Edge cases
- One participant dominates a cluster. Five notes from P2 do not show a pattern across people. Count distinct participants, not notes. A cluster with eight notes from two participants is weaker than one with five notes from five.
- A note fits two clusters. The note is probably not atomic. Split it. If it is atomic, place it where it best explains the participant's action, and record the second link in its codes.
- A huge cluster forms. Over 15 notes usually means a topic, not a pattern. Split it by behavior or cause.
- Many one-note clusters. You may be sorting too finely. Merge clusters that differ only in wording.
- Clusters match your interview guide. If every cluster mirrors a question you asked, you may be sorting by the guide. Move notes by what participants did and said, not by the question that prompted it.
Common mistakes
- Naming clusters before sorting, which makes the label drive the grouping.
- Dragging a note into a cluster to tidy the map.
- Treating cluster size as importance. A small cluster about a failed checkout may matter more than a large one about color preferences.
- Losing the note IDs when copying notes onto the board, which breaks traceability.
- Stopping at the first map. Expect to move notes in several passes.
When the map is done enough
You can stop sorting when moving a note no longer changes your reading of the cluster, when every note is placed or consciously parked, and when someone who did not sort could read a cluster and see why the notes belong together. Record the map, with note IDs, before moving on to labeling and refining clusters.
Exercise
You have 12 notes in one cluster called "Export problems." Eight come from participant P4. The other four come from P1, P2, P5, and P6. What do you do before treating this as a pattern?
Show answer
Count participants, not notes. Five participants contributed, but P4 supplies two thirds of the notes, so the cluster is skewed. Reread the P4 notes to see whether they repeat one incident, and check whether the four other notes describe the same problem or only the same feature. If they differ by behavior or cause, split the cluster. Then report the pattern using the number of participants behind it, not the note count.
Exercise
A note reads "Couldn't find the import button, but the preview looked great." Where should it go on the map, and what should you do first?
Show answer
The note holds two observations, so split it into "Couldn't find the import button" and "The preview looked great," each with its own ID and the same participant ID. Then place each note with similar notes, likely a navigation cluster for the first and a positive reactions cluster for the second.