R Markdown

1. Histogram: Distribution of Employee Satisfaction Create a histogram of the satisfaction_level variable. The title should reflect a key takeaway from the distribution.

  • Most employees are satisfied (satisfaction > .5)
  • About 6% of employees are extremely unsatisfied: 900/15000. (satisfaction <= .11)

2. Box Plot: Last Evaluation Scores Create a box plot of the last_evaluation variable. The title should highlight an important insight about the evaluation scores.

  • Most employees are working efficiently, with an efficiency of 0.7 at the median.

3. Comparative Box Plot: Monthly Hours by Department Create a comparative box plot of average_montly_hours grouped by department. The title should emphasize a significant difference or pattern among departments.

  • HR has the longest box plot showing they have the widest range of satisfaction level.
  • Management has the shortest box plot showing they have the shortest range of satisfaction level.

4. Pie Chart of Frequencies: Attrition by Salary Level Create a pie chart showing the frequency of employee attrition (left) for each salary category. The title should point out the relationship between salary and attrition.

  • Low salary employees have a higher attrition rate within the company.

5. Bar Plot of Averages: Average Satisfaction by Department Create a bar plot displaying the average satisfaction_level for each department. The title should highlight a key observation about departmental satisfaction.

  • Management has the highest level of satisfaction (.62) and the accounting department has the lowest level of satisfaction (.58).