### Question

In the context of this lesson, what is each type of plot in Seaborn used for?

### Answer

**KDE Plot**

KDE plots are used to get the probability density of a random variable. Like histograms, they are used to show us the distribution of a dataset. However, they provide a smoother visualization than histograms. The area under any two points in a KDE plot is the probability that a value falls between those two points.

**Box Plot**

Box plots tell us how a dataset is distributed. They show us the range of all the values in the dataset, and provide us a clear visualization of the five number summary, by including the first quartile, median, third quartile, outliers and the minimum and maximum, which may or may not be outliers.

**Violin Plot**

These are similar to box plots, but also show the KDE of the dataset on the plots, in addition to the interquartile range and median, within a 95% confidence interval. Because these show a lot of information, violin plots are used quite often.