diff --git a/.gitignore b/.gitignore index fc272fa20d..0fd5efb32a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .DS_Store code/.pynb_checkpoints/* data_tables/.DS_Store +env/ diff --git a/analysis.py b/analysis.py new file mode 100644 index 0000000000..c4addc2912 --- /dev/null +++ b/analysis.py @@ -0,0 +1,13 @@ +import pandas +import plotly.express as express_plot + +data_frame = pandas.read_csv('data_tables/vaccine_data/us_data/time_series/vaccine_data_us_timeline.csv') +data_frame = data_frame.groupby(["Province_State", "Date"], as_index=False)['Doses_admin'].sum() + +graph = express_plot.line( + data_frame, + x = 'Date', + y = 'Doses_admin', + title='COVID vaccination rate over time', + color="Province_State") +graph.show() \ No newline at end of file diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000000..51c45520eb --- /dev/null +++ b/requirements.txt @@ -0,0 +1,23 @@ +appnope==0.1.2 +backcall==0.2.0 +decorator==4.4.2 +ipdb==0.13.7 +ipython==7.21.0 +ipython-genutils==0.2.0 +jedi==0.18.0 +numpy==1.20.1 +pandas==1.2.3 +parso==0.8.1 +pexpect==4.8.0 +pickleshare==0.7.5 +plotly==4.14.3 +prompt-toolkit==3.0.17 +ptyprocess==0.7.0 +Pygments==2.8.1 +python-dateutil==2.8.1 +pytz==2021.1 +retrying==1.3.3 +six==1.15.0 +toml==0.10.2 +traitlets==5.0.5 +wcwidth==0.2.5