Field card

File: persona-trait-overlap.html Pattern: colour-as-notation for data; honest overlapping areas; pick-to-compare.

The brief that produced it

A studio widget on NVIDIA's Nemotron-Personas-Belgium corpus (300,000 synthetic Belgians). The one idea: two personality traits and how much they co-occur. Show it Byrne's way — overlapping coloured areas, his actual method for set/logical relations. A blue square (trait A) and a yellow square (trait B), each sized in proportion to how many personas have that trait; their red intersection sized to how many have both; all inside a faint square = the whole 300,000. Two menus to pick the traits. Byrne palette.

Source of truth

/Users/breyten/Documents/code/nemotron-brussels-personas/poc/data/semantic_atlas.json — groups.personality.trait_counts (per-trait counts) and .cooccurrence (pairwise "both" counts). Eight of the meatiest traits and their 28 pairwise overlaps are embedded verbatim in the widget. Every area is literally proportional to a real person-count.

The geometry (why it's honest)

Two axis-aligned squares of side √countA and √countB can always be positioned so their intersection is a square of side √co (since co ≤ min(countA, countB) ⇒ √co ≤ min sides). Blue sits top-left, yellow bottom-right, the √co overlap square exactly where they cross, painted red. A single fixed scale (380px / √300000) sizes everything, so the faint population square is constant and the union always fits inside it — areas are comparable across trait pairs, not just within one.

Design choices worth keeping

  • The red intersection is the headline, not a blend — red draws the eye to the co-occurrence, the number the widget exists to show.

  • The menus are the labels, each prefixed with its colour swatch; the figure stays wordless (Byrne). The readout below states all three percentages in prose, and a conditional line ("61% of the orderly are also introverted") gives the asymmetry.

  • Same-trait selection is auto-corrected so the figure never degenerates.

What it teaches the studio

The Euclid study showed colour-as-area for a fixed truth; this generalizes it to data — a reusable "proportional overlap" idea where area = count and intersection = co-occurrence. It also demonstrates honest cross-comparison (constant scale) and pick-to-compare interaction. If this pattern recurs, it's the kind of thing that could graduate into a real blog component or a charts-adjacent capability — but as a study it stays self-contained.