← All projects
Voice & feel ยท plots, docs, decks & UI active

Visual Grammar

One visual language (Imagism) and token specification extending Wilkinson's Grammar of Graphics from R/ggplot2 charts to documents, slide decks, and web UI, paired with a 97-term part lexicon.

Visual Grammar is built around a personal style specification and a set of composition rules. It carries the same choices about color, type, spacing, and emphasis across R plots, documents, decks, and web interfaces. This site uses it.

Formats

PartWhat it handles
niu-graphR/ggplot2 figures, direct labels, and themes
Document languageAnalytical briefs, reports, tables, and exhibits
UI blocksShared HTML/CSS structures for websites and wireframes
AnatomyNames and code handles for precise review

Theme modules let a client deliverable use a different palette without rebuilding the chart or layout.

Reducing style to a skeleton

The system names 97 chart, document, and interface parts, each tied to its code selector. Each component has a style template that any agent can use to build plots, generate decks, and structure a document the way I would manually.

Imagism horizontal bar chart ('Middle grades gained the most attendance') with anatomy callouts naming title, subtitle, panel, y axis, major gridline, focal bar, bar, x axis, x-axis title, and caption
An imagism plot from niu-graph with its anatomy labels overlaid: a Crimson Pro assertion title, a single cranberry focal bar (#8A2E3B) against muted slate comparison bars, hairline rules, and named handles for every part.