I’m relatively new to python. I want to plot a pie chart for department, i.e., how many percent of the employees coming from
Sales & Marketing,
I’m not sure how to count the total number of employees from respective department first then only fit the data into the pie chart. Any help will be greatly appreciated!
Answer:You can use
If you have better answer, please add a comment about this, thank you!