Darker cells mean a higher score for this topic on that metric.
LessMore
Last reviewed Sources & creditsMedia creditsMethodology
Quick answers
When should I pick Vega-Lite grammar?
When the story is: reproducible analysis figures, teaching encodings, notebooks.
When should I avoid Vega-Lite grammar?
Skip it in cases like: you only need one disposable bar for a meeting invite.
Who invented or popularised it?
Vega-Lite from the University of Washington Interactive Data Lab
What does it encode?
unit specifications of mark + encoding channels
Is it OK in ads?
Yes if one claim is visible at a glance in Meta, Google and retail print; otherwise link to a full figure.
Will a teacher accept it?
Yes for lab reports and poster boards if axes, units and a source line are present.
Vega-Lite grammar encodes values as unit specifications of mark + encoding channels. Vega-Lite from the University of Washington Interactive Data Lab.
In reports, ads and assignments it fits reproducible analysis figures, teaching encodings, notebooks. Skip it when you only need one disposable bar for a meeting invite.
Principles
- Encoding — The core mark of Vega-Lite grammar is unit specifications of mark + encoding channels.
- History — Vega-Lite from the University of Washington Interactive Data Lab
- Fit — reproducible analysis figures, teaching encodings, notebooks
- Shared baseline — The eye compares length and position more accurately than area.
- Audience — PowerPoint, Excel or Google Sheets and Meta, Google and retail print share the same geometry.
Misconceptions
- Pretty equals true — Decoration rarely persuades; it slows reading.
- 3-D helps — Perspective distortion wrecks comparison. Keep it flat.
- More series is richer — Do not stack stories. One Vega-Lite grammar, one claim.
- Default palette is fine — Rainbow defaults fail color-blind viewers and grey print. Change Excel or Google Sheets defaults.
Why it matters
- Work — Work: reproducible analysis figures, teaching encodings, notebooks. Readable in four minutes in PowerPoint.
- Ads — Ads: one number and one shape speak first in Meta, Google and retail print.
- School — School: for lab reports and poster boards, pick the form that answers the rubric.
- Craft — Craft: honour unit specifications of mark + encoding channels and decoration falls away.
Vega-Lite grammar: honour unit specifications of mark + encoding channels, and switch when you only need one disposable bar for a meeting invite.