Majority Male Age Exercise

Let's plot the age range of the majority of men in a histogram.

Majority male age problem statement

The majority of men in our data are between 50 and 60 years old. Write code to visualize the age range of the majority of men in a histogram.

Majority male age coding challenge

Draw a histogram that shows the age range of the majority of the men in our data.

Note: In the histogram, we’ll see that the number of men is higher in the 50-60 years old range.

If you need help we will walk through the solution on the next page.

Good luck!

Get hands-on with 1200+ tech skills courses.