Grammar of Graphics

December 16, 2025

  1. DATA: a set of data operations that create variables from datasets,
  2. TRANS: variable transformations (e.g., rank),
  3. SCALE: scale transformations (e.g., log),
  4. COORD: a coordinate system (e.g., polar),
  5. ELEMENT: graphs (e.g., points) and their aesthetic attributes (e.g., color),
  6. GUIDE: one or more guides (axes, legends, etc.).