When would you use a histogram versus a kernel density estimate (KDE) plot, and how do bin width and bandwidth matter?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: easy
Interview Round: Other
Overview: Asks when to choose a histogram over a kernel density estimate plot for exploring a distribution, and how bin width and bandwidth affect what each one shows. Tests practical judgment about smoothing and about bounded or discrete data during exploratory data analysis.