-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path36_birthday_plots.py
18 lines (18 loc) · 1.04 KB
/
36_birthday_plots.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# 36 Birthday Plots
# Author: Christian Million
# Started: 2020-08-18
# Completed: 2020-08-18
# Last Modified: 2020-08-18
#
# Prompt: https://www.practicepython.org/exercise/2017/04/02/36-birthday-plots.html
#
# This exercise is Part 4 of 4 of the birthday data exercise series. The other exercises are: Part 1, Part 2, and Part 3.
#
# In the previous exercise we counted how many birthdays there are in each month in our dictionary of birthdays.
#
# In this exercise, use the bokeh Python library to plot a histogram of which months the scientists have birthdays in!
# Because it would take a long time for you to input the months of various scientists, you can use my scientist birthday JSON file.
# Just parse out the months (if you don’t know how, I suggest looking at the previous exercise or its solution) and draw your histogram.
#
# If you are using a purely web-based interface for coding, this exercise won’t work for you, since it requires installing the bokeh Python package.
# Now might be a good time to install Python on your own computer.