1. Using the HR_comma_sep dataset, create a pie chart for the variable sales.

Summary : This pie chart shows the distribution of employees by department, with the Sales department having the largest share at 27.6%, followed by Technical at 18.1%, and Support at 14.9%.

  1. Using the HR_comma_sep dataset, create a pie chart for the variable salary.

Summary: This pie chart shows the distribution of employees by salary levels, with the majority earning a low salary (48.8%), followed by medium salary earners (43%), and a smaller percentage earning a high salary (8.25%).