Dashed-line represents variable mean.
Density histograms are nice to visualize the general shape of a numeric distribution.
This general shape is calculated based on a technique called Kernel Smoother, its general idea is to reduce high/low peaks (noise) present in near points/bars by estimating the function that describes the points. Here some pictures to illustrate the concept: