INTRO TO CS MIDTERM PROJECT: ANIMATED CHOROPLETH MAP
by: yi-an liao
due date: january 3, 2022
installed libraries:
- plotly
- pandas
files used:
- choropleth map FINAL.py (final program)
- energy-cons-cleaned.csv (cleaned data)
- energy-cons.csv (original data; not cleaned)
- test.csv (sample data from energy-cons.csv for testing)
data cleaning process:
- delete rows without iso3 country codes to get rid of regional and continent data.
- delete rows that have data earlier than 1980 or later than 2015.
- delete all data from years that aren't a decade marker or half a decade.
- reset index starting from 0 afterwards because why not and it looks better.
- end product: data is only from countries and the only years i have data for are 1980, 1985, 1990,1995, 2000, 2005, 2010, and 2015.