When would you use a logarithmic scale for an axis in Matplotlib, and what are its advantages?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: easy
Interview Round: Other
Overview: Asks when a logarithmic axis is the right choice for a Matplotlib chart and what it gains over a linear axis. Tests reasoning about data that spans many orders of magnitude, growth rates, values a log axis cannot show, and how to keep the chart honest for readers.