Spread of yes's and no's
Your company, ABC, tasks you with the job of surveying to its employees to check employee interest in on-site work.
The original survey of the population of company ABC, ABC_survey
, included both "Yes" and "No" responses to the question of whether employees wanted to work on-site, onsite_work
.
In this exercise, you will be able to quickly come to a conclusion about employees' preferences about on-site work.
pandas
and matplotlib.pyplot
has been uploaded for you as pd
and plt
.
This exercise is part of the course
Analyzing Survey Data in Python
Exercise instructions
- Create a pie chart visualizing the original spread or "Yes" and "No" to the question of working on-site.
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Create a pie chart to the question of working onsite
ABC_survey.____.____.____.____
plt.show()