1a. Create a histogram for employee satisfaction .

#Above graph indicates.It labels the x-axis as “Employee Satisfaction” and the y-axis as “Count.” It uses blue bars with brown outlines and a bin width of 0.05. According to the title, the majority of employees are satisfied to a degree higher than 0.5.

1b. Create a histogram for and last evaluation.

#Above Graph Indicated that,Black outlines and pink bars are used. According to the title, the majority of employees have ratings higher than 0.5. “Last evaluation” is written on the x-axis, and “Count” is written on the y-axis.

2. Create a bar plot for the average satisfaction of employees by the variable that indicates whether they left of stayed at the company.

#A bar plot comparing the average employee satisfaction levels of those who left the company to those who stayed is produced by the R code. It emphasizes how, on average, disgruntled workers are 30% less satisfied. With a light blue background, each category in the plot is represented by a different color.