What is ggplot2's grammar of graphics and how do aes, geoms, scales, facets, and themes fit together?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: medium
Interview Round: Other
Overview: Asks what the grammar of graphics behind ggplot2 is and how aesthetic mappings, geoms, scales, facets and themes combine into one plot. Tests understanding of layered plot construction in R and of common pitfalls such as mapping versus setting a fixed value.