Box plot, aka box-whisker plot, is one of the best plots to understand the distribution of each variable with its quartiles. It can be horizontal or vertical. It shows quartile distribution in a box, which is known as a whisker. It also shows the minimum and maximum and outliers in the data. We can easily create a box plot using Seaborn:
# Create boxplot
sns.boxplot(data=df[['satisfaction_level','last_evaluation']])
# Show figure
plt.show()
This results in the following output:
In the preceding example, we have used two variables for the box plot. Here, the box plot indicates that the range of satisfaction_level is higher than last_evaluation (performance). Let's jump to the KDE plot in Seaborn.