Skip to content

Repository files navigation

Interactive Map

Base Repository for Mini Project 4: Interactive Map

This code will generate a map of the United States containing data from 1999 to 2016 of the causes of death. The map will have a color gradient dependent on the death density of the state. When the mouse clicks on the marker of a specific state, a text box will appear with the top ten causes of death with the number of deaths in the given year.

How to Install Required Packages:

pip install csv

pip install folium

pip install operator

pip install os

pip install pandas

How to Run Code:

python statecopy.py

python yearlymap.py

Full Write-up and Reflection here

About

The program produces of an interactive map of the United States and each state will have a color based in its death rate per capita. The user can have information about the death causes for each state my clicking on them.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages