About the show

The Office (US) is a mockumentary sitcom, Created by Greg Daniels, that aired on NBC from March 24, 2005 to May 16, 2013. Adapted from the British series of the same name, the show follows the day-to-day lives of the employees at the Dunder Mifflin Paper Company branch in Scranton, Pennsylvania, filmed in faux-documentary style.

Across 9 seasons and 186 episodes, the ensemble is anchored by regional manager Michael Scott (Steve Carell, S1–7), salesman Jim Halpert, receptionist (later artist/sales rep) Pam Beesly, and eccentric beet-farming salesman Dwight Schrute. Around them rotates a deep cast of accountants, salespeople, warehouse staff, and corporate types — Andy, Angela, Kevin, Oscar, Stanley, Phyllis, Kelly, Ryan, Toby, Erin, Darryl and many more.

Rank characters by

Character importance — all seasons

Click any bar (or character name) to spotlight that character in the heatmap. Use the toggle above to rank by lines, words, or episode appearances.

Episode-by-episode appearances

Each cell is one episode (left → right = chronological). Color intensity shows how many lines that character spoke. Click a season label to filter; hover any cell for details.

What do characters say? Level 2

Word frequency cloud

Most frequently used words (stop words removed). Word size represents frequency. Hover for exact counts.

Top 20 words by frequency

Ranked list showing word counts and percentage of character's total dialogue.

Most common phrases

Frequently repeated multi-word phrases and catchphrases. Shows count and first episode of appearance.

Word frequency by season

How the character's top words change across seasons. Select a season to focus on word frequency patterns.

Who shares the screen? Level 3

Character co-occurrence — all seasons

Chord thickness shows how often two characters share a scene. Hover a character arc to isolate their connections; hover a chord for details.

Strongest character pairs

Top 10 character pairs ranked by number of shared scenes.

Inside The Office Level 4

Two views that look at what is said across the whole show and who is said it with: a phrase tracker (when a catchphrase first appears, how it spreads, and who repeats it most), and a 25×25 co-scene matrix (which character pairs actually share scenes — click a cell to see what they talk about when they're both there).

Phrase tracker — when does a line catch on?

Search any word or phrase, or pick a famous Office catchphrase. See its first & last appearance, frequency over the run of the show, and who said it most.

Quick picks:

Frequency over time (one dot = one episode)

Top speakers of this phrase

Character co-scene matrix — who shares a scene with whom?

Each cell is a pair of characters; color shows the number of distinct scenes they both appear in across all 186 episodes. Click any cell to see the words those two characters use most when they’re in the same scene.

Click a cell above to inspect a pair

Design notes & justification (click to expand)

Tasks supported

  1. Show overview — the header and stats panel give the network, run dates, season/episode counts, genre, and a short prose intro to the central characters.
  2. Importance overall & per-season — the bar chart ranks characters by either lines, words, or episodes appeared. The season dropdown (and clicking a season label in the heatmap) re-computes the ranking for just that season, so a viewer can compare e.g. Andy in S8 vs. the show as a whole.
  3. Per-episode appearances for major characters — the heatmap shows one row per major character and one column per episode, color-encoded by lines spoken in that episode. Empty (gray) cells = the character didn’t speak that episode. Season dividers segment the timeline.
  4. Character co-occurrence — the chord diagram shows which characters share scenes most often. Each arc is a character, and each chord connecting two arcs is sized by how many scenes they both spoke in. The season dropdown re-builds the diagram for just that season, so you can see e.g. how Michael’s scene partners shift from S1 to S7, or who fills the gap in S8–9. The top-10 pairs bar chart gives the exact counts.

Visual encoding choices

  • Horizontal bar chart for ranked importance: bar length is the most accurate visual channel for quantitative comparison, and horizontal bars give long character names room to breathe.
  • Heatmap for character × episode: with ~25 characters × 186 episodes (~4,650 cells), a heatmap is the most space-efficient way to expose appearance patterns — you can see seasons where a character vanishes (Michael after S7), recurring guests, and standout episodes (high-line bursts) at a glance.
  • Square-root color scale on the heatmap so a few high-line "Michael episodes" don’t crush the rest of the palette into invisibility.
  • Brushing & linking: selecting a character in the bar chart highlights its row in the heatmap; choosing a season in the dropdown both re-ranks the bar chart and dims non-matching episodes in the heatmap. This keeps the two views consistent and supports answering "who matters in S6?" and "where in S6 did Andy actually show up?" together.
  • Tooltips for details-on-demand instead of cluttering the chart with labels.
  • Wikipedia link next to each bar (the small w) for the optional "link out" requirement.
  • Chord diagram for co-occurrence: character interactions form a weighted network (who shares scenes with whom), and a chord diagram is a natural fit, since arc length encodes how connected a character is overall, and chord thickness encodes the strength of a specific pairing. Hovering an arc dims all unrelated chords so you can isolate one character’s connections without losing context.
  • Top pairs bar chart alongside the chord diagram: chords are good for seeing the overall shape of the network but hard to rank precisely. For example, is the Michael to Jim chord thicker than Michael toDwight? The bar chart answers that a little more directly.

Who is included

The dataset has hundreds of named speakers, most of whom appear once. To keep the dashboard about meaningful characters we include only speakers with ≥ 100 total lines AND appearing in ≥ 5 episodes, then take the top characters by total lines (capped at 25 to keep the heatmap readable). Compound speakers like “Jim & Pam” and group labels (“Everyone”, “All”) are excluded; small typo variants (“Michael:”, “DeAngelo”) are normalized to their canonical form. This excludes one-line guest characters but keeps every recurring character with a meaningful presence in at least a few episodes.

Theme

The cream/mustard/dark-brown palette and Bebas Neue title evoke the show’s opening titles and Dunder Mifflin’s drab office aesthetic.

Level 4 — Inside The Office

Two new views were added that exploit two pieces of the dataset Levels 1&2 ignored: the raw line text (for free-text search) and the per-episode scene column (for co-presence analysis).

Phrase tracker. The Office is a show built on running gags ("That’s what she said", "False", "Bears, beets…", "Identity theft is not a joke, Jim"). The user wants to know: when did this gag start? when did it die? and which characters carry it? The view answers all three:

  • Stat strip — total uses, # episodes that contain it, first appearance (S?E?), last appearance, and the peak season — details on demand without reading the chart.
  • Timeline dot/area chart — one mark per episode along the chronological X axis (with season dividers carried over from the heatmap so users can map between views). Empty episodes are visible as gaps, which is the whole point when you’re asking "when does it disappear?".
  • Top-speakers bar — bars are the right channel for "who said it most" because the question is a strict ranking.
  • Quick-pick buttons for famous catchphrases avoid making the user remember exact spellings; a free-text search box covers everything else.

Sketch: [ search box ] [Go]
[ catchphrase chips… ]
[ stat: 142 uses · S2E2 first · S9E20 last · in 76 eps ]
timeline: · ·· ····· · · ·· · ·
speakers: Michael ████████ Dwight ███ Andy ██ …

Character co-scene matrix. "Who actually talks to whom?" is the natural follow-up to Level 1’s "who’s important?". Two characters can both appear in many episodes without ever sharing a scene (e.g. corporate visitors vs the warehouse), and the show has clear sub-cliques (the salespeople, the accountants, the warehouse). A 25×25 matrix is the right encoding because:

  • It shows all pairs at once — cliques pop out as bright rectangular blocks, isolates as dim rows.
  • The diagonal (a character paired with themselves) is set to "all scenes the character is in" so the row/column can be read as marginal totals as well.
  • Both axes are sorted by total importance (same order as the Level 1 bar chart), so the eye finds Michael at the top-left automatically.
  • Click any cell to drill in: a small bar list shows the most common (non-stopword) words that either character speaks only when both are in the scene together. This is how the user answers "do Jim and Pam say different things to each other than Jim and Michael do?" — they click two cells and compare.

Sketch: M D J P A…
Michael ░ █ █ █ █ ← row reads as "everyone Michael shares scenes with"
Dwight █ ░ █ █ █
Jim █ █ ░ █ █
Pam █ █ █ ░ ▓
… (click a cell → below: top words for that pair)

Why option 2 (co-occurrence) for Level 3

Level 2 already covers what characters say, so Level 3 picks up option 2 — who speaks with whom. The Office is an ensemble show and character pairings drive most of the comedy (Jim to Dwight, Michael to Toby, Jim to Pam), so a co-occurrence view felt more revealing than duplicating text analysis. The transcript data includes scene numbers per episode, which gives a clean way to infer who appears together without guessing from adjacent lines.