It is sometimes useful to use a log scale for a numeric variable. Indeed, it allows to “magnify” the lower part of the curve.
This is possible thanks to the
scale_y_log10() function. Control the horizontal grid lines with
breaks, and the axis limits with
limits. (Note that 0 is not allowed, since log(0) is not defined.)
This is the same chart without the log transform: