Assignment 1: Histograms and Bar Plots
Create a histogram for employee satisfaction.
Create a histogram for last evaluation.
plot_ly(x = data$last_evaluation, type = "histogram" ,
nbinsx = 8,
marker = list(color = "violet",
line = list(color = "grey",
width = 2))) %>%
layout(title = 'Most of the Employees have a rating of higher than 0.5 in their Last Evaluation', plot_bgcolor = "#e5ecf6",
xaxis = list(title = 'Employees Last Evaluation'),
yaxis = list(title = 'Count'))