Hey Juno

Thematic analysis: a worked example

By Hey Juno · Published · Updated

Thematic analysis turns interview transcripts into a small number of evidence-backed themes. You read everything, label the relevant passages, group the labels, test each group against the evidence that does not fit, and write each theme as a claim. This guide works through one example from raw quotes to a finished finding, so you can see what changes at each step.

For the reasoning behind each step, read how to analyse interview data first. This page is the companion example.

Everything in the example is invented for illustration. The study, people and quotes are not from a real study.

The example study

A city library service wants to understand why people who join stop visiting. The decision is whether to spend next year's budget on longer opening hours or on something else. The team interviewed 12 people who joined in the past two years and had not visited for six months.

Before reading, the team wrote down what they expected: people stopped because opening hours did not suit them. Writing it down matters, because it lets you notice later whether the data agreed or you simply found what you expected.

Step 1: Read everything before labelling anything

Read all 12 transcripts once without marking them. Keep short notes on what surprised you. Two notes from this reading:

  • Several people mention hours, but few describe a time they arrived and found the library closed.

  • More than one person sounds embarrassed, and the interviewer did not always follow it up.

The second note is a limit of the interviews as well as a clue about the data. It goes in the write-up.

Step 2: Label the relevant passages

A code is a short label that stays close to what the person said. Here are five excerpts with first codes.

ParticipantWhat they saidCode
P2"I had a fine from about a year back. It was only small, but I felt a bit silly walking in."Embarrassed by old fine
P4"The hours are tricky, I suppose. I finish at five."Hours as a reason
P7"I kept the book too long and then I just avoided it."Avoiding after overdue book
P9"I get everything on my phone now, honestly."Moved to phone
P11"They'd scrapped the fines by then, I think, but nobody told me."Did not know fines ended

Three things to notice:

  • P4's "I suppose" is kept. It suggests the reason was offered politely. If you code only "opening hours", that doubt is lost.

  • P2 and P7 are coded separately. One is about money and the other is about an overdue book. They may belong together, but that is a decision for the next step.

  • P9 is coded even though it fits neither expectation. Code what is relevant, not what suits the hunch.

Step 3: Group codes into candidate themes

Put related codes side by side and ask what idea connects them. A first attempt:

Candidate themeCodes in itParticipants
Opening hoursHours as a reason6 of 12
FinesEmbarrassed by old fine4 of 12
Overdue booksAvoiding after overdue book3 of 12
Lapse without embarrassmentOverdue book, not bothered1 of 12
Unaware of the changeDid not know fines ended2 of 12
Digital readingMoved to phone3 of 12

These are topics, not themes. "Fines" tells you what people talked about, not what it means. Looking across the fines and overdue rows, the shared idea is not money. It is that a small lapse made returning feel awkward. The two rows become one candidate theme:

A small lapse, such as an overdue book or a fine, makes going back feel embarrassing, so people put it off until they have stopped.

Six different people sit behind it: four plus three, less one who appears in both rows. The person with an overdue book who was not bothered stays out of the count, and will matter in the next step. People who did not know fines had ended stay separate too, because not knowing is not the same as feeling awkward. Count people, not mentions.

Step 4: Try to break each theme

This is the step most often skipped. For each theme, ask what you would expect to see if it were wrong, then look for it.

Opening hours. If hours were the real barrier, people should describe trying to visit and finding the library closed. Of the six people who mentioned hours, one did. The other five gave hours as a general reason, then described something else when asked about their last visit. Two of them described an overdue book.

The theme survives in a much weaker form. Hours matter to one person directly. For the others they seem to be the easy answer.

Embarrassment. If any lapse led to embarrassment, everyone with a lapse should avoid going back, and people with no lapse should stop for other reasons. All six who felt awkward describe avoiding the library. But P5 had an overdue book, felt no embarrassment, returned it through the outdoor box and still stopped, because a new job changed their route home.

P5 does not destroy the theme. P5 narrows it: a lapse is not enough on its own to keep someone away.

Step 5: Define and name the themes

A theme's definition should say what it covers and what it does not.

ThemeWhat it isWhat it is not
A small lapse becomes a reason to stay awayPeople who feel awkward about an overdue book or fine put off returningNot about the cost of fines. Nobody described the amount as a problem
Opening hours are the polite answerHours come up early but rarely match the last visit describedNot a claim that hours never matter. One person was turned away
The habit moved elsewhereReading moved to the phone, or the route home changedNot dissatisfaction with the library

Step 6: Write the finding as a claim

Compare two ways of writing the same result.

Weak: "Fines and opening hours were key barriers for lapsed members."

Stronger: "Six of the 12 lapsed members described putting off a return because they felt awkward about an overdue book or an old fine. None described the amount as the problem. Two people, counted separately, did not know fines had ended. One further person with an overdue book felt no embarrassment and stopped because their route home changed, so a lapse alone does not explain leaving. Six people mentioned opening hours, but only one described being turned away. Interviewers did not always follow up on embarrassment, so it may be under-reported."

The stronger version can be checked. It states how many people, what they said, what does not fit, and where the interviews fell short. It also speaks to the decision: this evidence does not support spending mainly on hours, and it points to a cheaper thing to test first, such as telling lapsed members that fines have ended.

What changed along the way

  • The expected answer, hours, was the most mentioned topic and turned out to be the weakest explanation.

  • The useful theme only appeared when two small topics were combined around a shared meaning.

  • The person who did not fit made the finding more precise.

Counting mentions would have recommended longer hours.

Checklist for your own analysis

  1. Did you write down what you expected before reading?

  2. Can you go from every code back to the exact passage?

  3. Is each theme an idea, not a topic?

  4. Did you count people, and say how many in total?

  5. Did you look for someone who breaks each theme, and did it change the wording?

  6. Does the finding say who it does not cover?

  7. Could someone else check the claim from your quotes?

To test findings someone else has produced, see how to check AI research findings.

How Juno does this

Juno, the AI researcher from Hey Juno, reads and codes every interview included in the analysis, looks for disagreement and negative cases, and can narrow or revise a finding when dissent changes how far it can be defended. Each finding is stated as a claim, with its reasoning and evidence, and links to the participant, the quote and the transcript moment. You can then challenge a claim in a debrief, and Juno will re-examine the evidence. See the reveal page.

Where this doesn't apply

This is a simplified example of one approach. Thematic analysis has several schools, and Braun and Clarke's reflexive version puts more weight on the interpreter's role than a worked table can show. Five short excerpts would also be far too little to analyse in practice. Real studies use full transcripts, where the surrounding conversation often changes what a quote means.

Frequently asked questions

How many themes should a thematic analysis have?

As many as the data supports and the decision can use. Many studies end with three to six. If you have fifteen, some are probably topics that share an idea.

What is the difference between a topic and a theme?

A topic is what people talked about, such as "fines". A theme is an idea about it, such as "a small lapse makes returning feel embarrassing". If it could be a heading on a survey, it is probably a topic.

Do two people need to code the same transcripts?

It can help, because a second reader notices what the first assumed. Some approaches require it and measure agreement. Others treat differences as something to discuss. Either way, say what you did.

Can AI do thematic analysis?

It can read and label a large set quickly. The quality depends on the steps that are easy to skip: looking for cases that do not fit, revising the theme and keeping every claim tied to a quote. Check for those before trusting the result.

Sources