Token Visualizer
An interactive model for exploring the relationships, platform differences, accessibility risks, health, and decisions inside a design system.
I conceived and designed the visualizer while working on design systems at Audible, and built it as a self-contained interactive model using HTML, CSS, JavaScript, Canvas, and SVG, with AI coding tools supporting implementation and iteration.
01Why I built this
A design system is more than a catalog
Traditional design-system documentation presents components, tokens, platform guidance, accessibility, and governance in separate places. But the underlying system is relational: a change to one semantic role can affect components, themes, platforms, accessibility, and the decisions downstream of all of them. A token table answers "what is this value?" — it can't easily answer what depends on it, where platforms disagree, whether a pairing is accessible, or which decision made it this way.
- Relationships disappear. References, aliases, and component usage are flattened into rows.
- Risk stays implicit. A small visual change may carry a large and invisible blast radius.
- Context becomes detached. The rationale behind a role is often stored somewhere else — or nowhere.
The visualizer asks what happens when those relationships become visible and explorable in one connected model. Rebuilding it on an entirely synthetic system is what makes it publishable — the interaction model is the work; the data shown here never described a real system.
Drag the divider: the same twelve values as scattered rows, then as a connected four-tier model.
02Modeling the system
Four tiers, one grammar
The model separates raw ingredients from meaning and implementation while preserving every edge between them: primitives hold values with no product intent, a deliberately small alias layer redirects names, semantic roles form the public API of meaning, and component tokens exist only where a component genuinely departs from a shared role.
Foundation
Primitive tokens hold raw design ingredients.
Palette steps, spacing units, type scales, radii, durations, and other irreducible values remain free of product intent.
primitive.color.clay.500 The live tier explorer from the visualizer — select a tier to see its responsibility and naming grammar.
- 1,297
- synthetic token records
- 3
- demonstration platforms
- 14
- connected visual lenses
- 0
- external dependencies
Scope of the synthetic demonstration model — attributes, not outcomes.
- ink
- stone
- sand
- clay
- ember
- ochre
- moss
- fern
- seaglass
- plum
- rose
- ice
The 12 mineral families at their 500 step — the synthetic dataset's palette, shown as identity samples.
03Fourteen lenses
Same model, different questions
No single view answers every question. Browsing wants a table, architecture wants a graph, color wants a wheel, risk wants a matrix — so the visualizer ships fourteen lenses over one model, and the selected system role stays connected across all of them. The explorer below previews each lens; the complete working set lives in the visualizer.
Constellation
A star map of the entire system. Large stars reveal the tokens carrying the most responsibility.
04Platform divergence
Alignment is measured, not assumed
Consistency doesn't mean forcing every platform to look identical. Most shared concepts in the model agree; the point of the comparison is the remainder — separating sanctioned native behavior, like iOS's sea-glass focus treatment or Android's deliberate density increase, from drift nobody chose. In the synthetic dataset, 74% of shared concepts align.
Web
432 tokensember focusKeyboard-first visibility on a wide range of surfaces.
iOS
432 tokensseaglass focusA sanctioned treatment retained for native controls.
Android
433 tokensember focusAligned with Web while preserving platform behavior.
Live CSS specimens — each case restyles the same control from the platform token values.
05Relationships and impact
Responsibility is not evenly distributed
A small set of semantic roles supports a large share of the interface. Selecting a node reveals its neighborhood — and why seemingly small changes deserve careful review. Usage in the synthetic model follows a power law on purpose: hubs like semantic.text.primary carry dozens of references while a long tail carries few.
A curated subset of the relationship topology — the full graph and impact matrix live in the visualizer.
06Accessibility and health
Quality as system data
The visualizer treats accessibility as a live property of the model, not a documentation page. Named text-on-surface pairings are governed by a settled decision and computed continuously — and the same connected approach powers system health, where findings like rogue literals, deprecated aliases still in use, and semantic-layer bypasses name the exact tokens involved.
Presets
Passes all text thresholds.
The working contrast lab — validated hex input, live luminance math, and WCAG thresholds.
07Governance
The decision stays attached to the role
The ledger turns governance into navigable system data: settled decisions and open questions, each connected to the tokens it governs. Select a governed token anywhere in the visualizer and the connection holds end to end — value, references, blast radius, platform comparison, and the decision that requires it, one inspector away.
08AI-assisted implementation
Direction plus verification
I built the visualizer through the same AI-assisted workflow as my other tooling work: AI coding tools as implementation collaborators, with the product decisions, dataset design, and taste staying mine. The artifact is one self-contained page — semantic HTML, CSS, JavaScript, Canvas, and inline SVG, no frameworks and no images — and every interactive element was verified for keyboard access, reduced-motion behavior, a readable no-JavaScript fallback, and reflow down to 320 pixels.
The synthetic dataset was its own design problem: convincing data needs hubs, drift, debt, and disagreement the way real systems have them. Sterile data would make every lens look clean and prove nothing.
09What this demonstrates
What the project demonstrates
- Systems thinking
- Modeling relationships, tiers, and platforms before designing a single view.
- Interaction design
- Keeping one selection connected across fourteen views, a persistent inspector, and a searchable query grammar.
- Cross-platform reasoning
- Separating shared intent from deliberate native divergence — and from drift.
- Accessibility and governance
- Making quality thresholds and decision rationale navigable parts of the system itself.
- Building
- Turning the concept into a responsive, keyboard-operable prototype in HTML, CSS, JavaScript, Canvas, and SVG — with AI tools shortening implementation cycles while design judgment stayed mine.
Where it stands
- Design-systems work developed at Audible, published here as a self-contained recreation
- All data synthetic; not connected to any production design-system source
- No production deployment, adoption, or measured business impact is claimed
- A demonstration of an interaction model for design-system tooling
Every name, value, relationship, count, platform difference, and finding on this site was generated for the demonstration. No internal services, assets, component names, or production design-system data are used.
The system is invisible. Its decisions are not.