Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
86 commits
Select commit Hold shift + click to select a range
2399f7b
Adding the data sources
alyshacreelman Feb 21, 2024
304f31a
Simple idea for layout and map working with dummy data.
cehrensperger Feb 21, 2024
a3c9044
Got maps working for one year of CO2 Only. Squares above the maps are…
cehrensperger Feb 21, 2024
b2b5d7b
Got basic year filtering functionality working.
cehrensperger Feb 21, 2024
5779f91
Changing the year no longer removes the paths and replaces them. Inst…
cehrensperger Feb 21, 2024
f68b14c
Adding a radial plot for CO2 emissions
alyshacreelman Feb 23, 2024
c661db0
Changed color scale of maps and added a legend.
cehrensperger Feb 23, 2024
3887d49
Added a different color scale for each of the different gasses.
cehrensperger Feb 25, 2024
4ef971a
Moved and styled the year selector and set placeholder text for note …
cehrensperger Feb 26, 2024
90601d3
Starting to add line graph of highest 5 emissions countries
alyshacreelman Feb 26, 2024
353e77f
Merge branch 'main' of https://github.com/audreymongillo/final
alyshacreelman Feb 26, 2024
e6ce1cc
Making some minor changes to line graph
alyshacreelman Feb 26, 2024
b1fd1eb
Improving line graph and adding flags
alyshacreelman Feb 27, 2024
75a7777
Adding a dataset and organizing images
alyshacreelman Feb 27, 2024
6b8f950
Added slight styling changes and got the last tick of each legend to …
cehrensperger Feb 27, 2024
653fdee
Adding a treemap with flags
alyshacreelman Feb 27, 2024
1e97bb5
Legends now update according to the range of what is currently being …
cehrensperger Feb 27, 2024
415ad40
Map bug fix plus stylig and merge conflict resolution.
cehrensperger Feb 27, 2024
c322a54
Updating CO2 graphs to all GHG
alyshacreelman Feb 28, 2024
87bf4a6
Adding tooltips to line graph
alyshacreelman Feb 28, 2024
893154a
Maps now draw with a default year at first render.
cehrensperger Feb 28, 2024
8b38eae
Merge conflict resolution.
cehrensperger Feb 28, 2024
b7637c2
individual gases area charts
audreymongillo Feb 28, 2024
eb9f8c9
individual gases area charts
audreymongillo Feb 28, 2024
478f68d
Fully functioning checkboxes.
cehrensperger Feb 28, 2024
87cc840
adding fonts and text
alyshacreelman Feb 28, 2024
272f058
Merge branch 'main' of https://github.com/audreymongillo/final
alyshacreelman Feb 28, 2024
7bae908
Resolved merge conflict and optimized maps.
cehrensperger Feb 28, 2024
a3f4893
Resolved another merge conflict.
cehrensperger Feb 28, 2024
643c0ed
minor fixes
alyshacreelman Feb 28, 2024
916a963
Merge branch 'main' of https://github.com/audreymongillo/final
alyshacreelman Feb 28, 2024
e234e3f
Centered some stuff plus small bug fix I think.
cehrensperger Feb 28, 2024
08bfcc8
adding some python code from exploratory analysis
alyshacreelman Feb 29, 2024
4e33511
Merge branch 'main' of https://github.com/audreymongillo/final
alyshacreelman Feb 29, 2024
9b810aa
changing fonts, adding text, formatting
alyshacreelman Feb 29, 2024
a820e02
starting to feedback fixes
audreymongillo Feb 29, 2024
0d0b604
starting to add text to area graphs, need to figure out how to wrap it
audreymongillo Feb 29, 2024
86baf87
added all text, still need to wrap
audreymongillo Feb 29, 2024
230c219
text fix
audreymongillo Feb 29, 2024
6e0e90f
text fix
audreymongillo Feb 29, 2024
942f050
text on area graphs works for the most part, it's kinda glitchy but i…
audreymongillo Feb 29, 2024
60fd16a
added tooltips to tree map, I don't love them but I cant figure out a…
audreymongillo Mar 1, 2024
9d6071b
code clean up
audreymongillo Mar 1, 2024
a3f2d58
centering graphs
audreymongillo Mar 1, 2024
6539b7a
added conclusion
audreymongillo Mar 1, 2024
9ab4008
adding personalized text in treemap for countries
audreymongillo Mar 1, 2024
6baf50b
sources
audreymongillo Mar 1, 2024
79a565e
sources
audreymongillo Mar 1, 2024
f5de62c
start of readme
audreymongillo Mar 1, 2024
e025cee
buttons for details
audreymongillo Mar 1, 2024
1de10c9
idk
audreymongillo Mar 1, 2024
5c92fba
readme
audreymongillo Mar 1, 2024
4a43f32
readme
audreymongillo Mar 1, 2024
ea4dda9
readme
audreymongillo Mar 1, 2024
d004ab0
readme
audreymongillo Mar 1, 2024
8ff35d6
fixing map positioning
alyshacreelman Mar 1, 2024
cdfed61
Merge branch 'main' of https://github.com/audreymongillo/final
alyshacreelman Mar 1, 2024
6ebc2d0
readme
audreymongillo Mar 1, 2024
1847e40
readme
audreymongillo Mar 1, 2024
747ad72
readme
audreymongillo Mar 1, 2024
e55bd41
updating data
alyshacreelman Mar 1, 2024
960dbfb
Merge branch 'main' of https://github.com/audreymongillo/final
alyshacreelman Mar 1, 2024
7bbd05c
readme
audreymongillo Mar 1, 2024
4cdf660
have a bug
alyshacreelman Mar 1, 2024
eb1e33e
Merge branch 'main' of https://github.com/audreymongillo/final
alyshacreelman Mar 1, 2024
2534297
test
alyshacreelman Mar 1, 2024
734afc0
fixing
alyshacreelman Mar 1, 2024
d44148e
fixing area charts
alyshacreelman Mar 1, 2024
1cf2de5
Merge branch 'main' of https://github.com/audreymongillo/final
alyshacreelman Mar 1, 2024
49469b9
small fix
alyshacreelman Mar 1, 2024
8e5e11c
fixes
alyshacreelman Mar 1, 2024
66cbf10
small fix
alyshacreelman Mar 1, 2024
accded6
readme
audreymongillo Mar 1, 2024
5136872
minor fixes
audreymongillo Mar 1, 2024
961c066
minor fixes
audreymongillo Mar 1, 2024
2962548
minor fixes
audreymongillo Mar 1, 2024
a34ab40
adding screen cast link
alyshacreelman Mar 1, 2024
9d029c4
adding screen cast link
alyshacreelman Mar 1, 2024
4ddb25e
adding process book pdf
alyshacreelman Mar 1, 2024
9d7a72b
readme
alyshacreelman Mar 1, 2024
80c4c0c
adding folder for python code
alyshacreelman Mar 1, 2024
bd0c0a6
Merge branch 'main' of https://github.com/audreymongillo/final
alyshacreelman Mar 1, 2024
f8e1a66
small readme changes
alyshacreelman Mar 1, 2024
dc80d5f
updating references
alyshacreelman Mar 1, 2024
fb9bd4e
typo
alyshacreelman Mar 1, 2024
f6ad390
typo
alyshacreelman Mar 1, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .idea/final.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

96,915 changes: 96,915 additions & 0 deletions Data Sources/CH4 Only All Years.csv

Large diffs are not rendered by default.

88,147 changes: 88,147 additions & 0 deletions Data Sources/CO2 Only All Years.csv

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions Data Sources/Decade Emissions Country.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
country,year,total_ghg
China,2010-2020,123167.14
United States,2010-2020,63386.64
India,2010-2020,33193.49
Russia,2010-2020,18664.76
Japan,2010-2020,13237.03
All Other Countries,2010-2020,250553.1
Binary file added Data Sources/EPA Data- All Greehouse Gases.xls
Binary file not shown.
Binary file added Data Sources/EPA Data- CH4 (Methane) Only.xls
Binary file not shown.
6,803 changes: 6,803 additions & 0 deletions Data Sources/EPA Data- CO2 Only.csv

Large diffs are not rendered by default.

Binary file added Data Sources/EPA Data- CO2 Only.xls
Binary file not shown.
Binary file added Data Sources/EPA Data- Fluorinated GHGs Only.xls
Binary file not shown.
Binary file not shown.
2,155 changes: 2,155 additions & 0 deletions Data Sources/Fluorinated GHGs Only All Years.csv

Large diffs are not rendered by default.

81,139 changes: 81,139 additions & 0 deletions Data Sources/N2O Only All Years.csv

Large diffs are not rendered by default.

79 changes: 79 additions & 0 deletions Data Sources/Our World In Data- Grouped CO2.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
country,year,co2
China,2022,11396.777
China,2021,11336.233
China,2020,10914.012
China,2019,10721.042
China,2018,10353.935
China,2017,10011.151
China,2014,9998.674
China,2013,9956.376
China,2015,9866.951
China,2012,9779.354
China,2016,9765.029
China,2011,9532.409
China,2010,8620.627
United States,2010,5679.715
United States,2011,5546.116
United States,2014,5528.681
United States,2013,5480.157
United States,2018,5377.797
United States,2015,5376.473
United States,2012,5344.086
United States,2019,5262.145
United States,2016,5252.932
United States,2017,5212.162
United States,2022,5057.304
United States,2021,5032.213
United States,2020,4714.628
India,2022,2829.644
India,2021,2674.222
India,2019,2612.888
India,2018,2593.058
India,2017,2426.607
India,2020,2421.552
India,2016,2354.658
India,2015,2234.219
India,2014,2148.344
India,2013,1995.098
India,2012,1925.7
India,2011,1764.712
Russia,2018,1712.494
Russia,2021,1711.993
Russia,2019,1705.031
Russia,2012,1701.268
Russia,2011,1685.91
India,2010,1677.337
Russia,2017,1666.121
Russia,2022,1652.177
Russia,2013,1640.437
Russia,2014,1639.959
Russia,2015,1638.675
Russia,2016,1634.885
Russia,2020,1632.929
Russia,2010,1632.783
Japan,2013,1315.192
Japan,2012,1305.884
Japan,2011,1264.631
Japan,2014,1264.072
Japan,2015,1223.169
Japan,2010,1214.707
Japan,2016,1202.454
Japan,2017,1186.802
Japan,2018,1141.669
Japan,2019,1104.54
Japan,2021,1062.129
Japan,2022,1053.798
Japan,2020,1039.796
All Other Countries,2010,12898.348
All Other Countries,2011,13025.357
All Other Countries,2012,13280.817
All Other Countries,2013,13229.591
All Other Countries,2014,13248.692
All Other Countries,2015,13475.021
All Other Countries,2016,13576.05
All Other Countries,2017,13814.658
All Other Countries,2018,13848.738
All Other Countries,2019,13862.94
All Other Countries,2020,12957.717
All Other Countries,2021,13633.329
All Other Countries,2022,13676.114
66 changes: 66 additions & 0 deletions Data Sources/Our World in Data- CO2 Emissions by Country.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
country,year,co2
China,2022,11396.777
China,2021,11336.233
China,2020,10914.012
China,2019,10721.042
China,2018,10353.935
China,2017,10011.151
China,2014,9998.674
China,2013,9956.376
China,2015,9866.951
China,2012,9779.354
China,2016,9765.029
China,2011,9532.409
China,2010,8620.627
United States,2010,5679.715
United States,2011,5546.116
United States,2014,5528.681
United States,2013,5480.157
United States,2018,5377.797
United States,2015,5376.473
United States,2012,5344.086
United States,2019,5262.145
United States,2016,5252.932
United States,2017,5212.162
United States,2022,5057.304
United States,2021,5032.213
United States,2020,4714.628
India,2022,2829.644
India,2021,2674.222
India,2019,2612.888
India,2018,2593.058
India,2017,2426.607
India,2020,2421.552
India,2016,2354.658
India,2015,2234.219
India,2014,2148.344
India,2013,1995.098
India,2012,1925.7
India,2011,1764.712
Russia,2018,1712.494
Russia,2021,1711.993
Russia,2019,1705.031
Russia,2012,1701.268
Russia,2011,1685.91
India,2010,1677.337
Russia,2017,1666.121
Russia,2022,1652.177
Russia,2013,1640.437
Russia,2014,1639.959
Russia,2015,1638.675
Russia,2016,1634.885
Russia,2020,1632.929
Russia,2010,1632.783
Japan,2013,1315.192
Japan,2012,1305.884
Japan,2011,1264.631
Japan,2014,1264.072
Japan,2015,1223.169
Japan,2010,1214.707
Japan,2016,1202.454
Japan,2017,1186.802
Japan,2018,1141.669
Japan,2019,1104.54
Japan,2021,1062.129
Japan,2022,1053.798
Japan,2020,1039.796
56 changes: 56 additions & 0 deletions Data Sources/Our World in Data- GHG Emissions by Country.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
country,year,total_ghg
China,2020,12295.62
China,2019,12085.05
China,2018,11877.1
China,2017,11366.6
China,2014,11233.38
China,2013,11154.26
China,2016,11126.01
China,2015,11097.28
China,2012,10667.19
China,2011,10382.27
China,2010,9882.38
United States,2010,6063.3
United States,2018,5935.52
United States,2011,5847.39
United States,2019,5819.48
United States,2014,5816.48
United States,2016,5783
United States,2013,5769.63
United States,2017,5728.79
United States,2015,5705.12
United States,2012,5628.8
United States,2020,5289.13
India,2018,3406.53
India,2019,3380.31
India,2017,3241.44
India,2020,3166.95
India,2016,3116.76
India,2015,3041.47
India,2014,3022.2
India,2013,2840.44
India,2012,2776.41
India,2011,2619.73
India,2010,2581.25
Russia,2019,1889.93
Russia,2018,1843.24
Russia,2020,1799.98
Russia,2017,1750.27
Russia,2016,1717.74
Russia,2011,1681.7
Russia,2012,1659.67
Russia,2013,1618.57
Russia,2014,1607.17
Russia,2015,1587.48
Russia,2010,1509.01
Japan,2013,1302.82
Japan,2012,1287.06
Japan,2014,1255.98
Japan,2011,1243.62
Japan,2016,1226.53
Japan,2015,1219.3
Japan,2017,1209.79
Japan,2018,1166.41
Japan,2010,1136.98
Japan,2019,1125.76
Japan,2020,1062.78
7 changes: 7 additions & 0 deletions Data Sources/Our World in Data- Grouped GHG.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
country,year,total_ghg
China,2010-2020,123167.14
United States,2010-2020,63386.64
India,2010-2020,33193.49
Russia,2010-2020,18664.76
Japan,2010-2020,13237.03
All Other Countries,2010-2020,250553.1
Binary file added Data Sources/testExcel.xlsx
Binary file not shown.
Binary file added Flag Images/american-flag.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Flag Images/china-flag.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Flag Images/india-flag.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Flag Images/japan-flag.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Flag Images/russia-flag.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Materials For Process Book/for process book.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Process Book.pdf
Binary file not shown.
379 changes: 379 additions & 0 deletions Python Code/python code.ipynb

Large diffs are not rendered by default.

20 changes: 20 additions & 0 deletions Python Code/xlsToCSV.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import pandas as pd

# Read multi-page XLS file
xls_file = pd.ExcelFile("./Data Sources/EPA Data- CH4 (Methane) Only.xls")

# Initialize an empty list to store DataFrames for each page
dfs = []

# Iterate over each page and read into a DataFrame
for i, sheet_name in enumerate(xls_file.sheet_names):
df = pd.read_excel(xls_file, sheet_name=sheet_name)
# Add a new column to track the original page
df['Page'] = i + 1
dfs.append(df)

# Concatenate DataFrames into a single DataFrame
combined_df = pd.concat(dfs, ignore_index=True)

# Write combined DataFrame to CSV file
combined_df.to_csv('combined_data.csv', index=False)
Loading