Show the subplot of diamond depth distribution for data science using Python in Anaconda - Jupyter

 #import the library Pandas
import pandas as pd

#Put the diamond.csv dataset on Root Directory

#Read the dataset 
data1 = pd.read_csv('diamond.csv'

#Show the subplot of diamond depth distribution.
plt.figure(figsize=[12,12])
plt.subplot(222)
plt.hist(data1['depth'],bins=20,color='royalblue')
plt.xlabel('Diamond Depth (%)')
plt.ylabel('Frequency')
plt.title('Distribution of Diamond Depth')



Output:-