Plot a histogram using the variable “avgMonthlyHours” and find the range in which the number of employees worked for 150 hours per month? For data science using Python in Anaconda - Jupyter

#import the library Pandas
import pandas as pd

#Put the People Charm case.csv dataset on Root Directory
#Read the dataset 
data = pd.read_csv('People Charm case.csv')

import matplotlib.pyplot as plt
#Plot a histogram using the variable “avgMonthlyHours”.
#find the range in which the number of employees worked for 150 hours per month?
plt.hist(data['avgMonthlyHours'],color ='blue',edgecolor='white',orientation='vertical')
plt.title('Histogram')
plt.xlabel('Average Monthly Hours')
plt.ylabel('Number of employees')
plt.show() 



Output:-