Skip to content

Density Plot

Definition

A density plot takes a numeric variable to represent a smooth distribution curve over time. The peak of the density plot shows the maximum concentration of numeric data. This chart is similar to a histogram, where there is a smooth curve instead of bars. We can draw up to five variables on the same plot for comparison. If we plot more variables, then it will become hefty.

density-plot

Why do you need it?

The density plot is easy to understand and can compare between two or more variables. It is like a histogram, but unlike a histogram, it doesn’t get affected by several bins on the plot.

What kind of data you can visualize with it?

It is best suited for numeric-related data. Assume you have a dataset of time interval on an axis and its associated frequency on another axis, then a density plot is beneficial. It will show which time interval has a maximum frequency, just by looking at the peak.

Category

  • Distribution

Similar