CS106a final project

by Fran X


My project took a file that contained a list of dates and number of covid19 cases diagnosed to date. Using those data, it calculated a number of statistics, such as new cases diagnosed per day, N day moving average (where N is defined as a global variable in the program), number of active cases (defined in the program by a global parameter; here it was set to 14 so a case is active for 14 days after diagnosis). The program then graphs whatever the user specified. Here I demonstrate total number of cases and active cases. This is an example of a tool to visualize data. I used this as an opportunity to reinforce the main concepts of this class, such as decomposition, functions, lists, dictionaries, and graphics.