When would you use base R graphics functions versus ggplot2 for data visualization?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: easy
Interview Round: Other
Overview: Asks when to use base R graphics and when to use ggplot2 for data visualization in R. Tests understanding of the two plotting models, the data shape each one expects, and how to pick between quick exploratory plots and layered, shareable graphics.