Skip to content

Gozzah/Python_Eksamen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The program uses plotply and choropleth for map generating. It generates a globe which includes human population in 2013.

How to run..

Run this file in jupyter notebook:

Python_Choropleth_Complete(Final).ipynb

For web interface with more listings of human population

Run the restget.py in CLI from pyfront-master

World Population API http://api.population.io/#!/countries/listCountries

Run through a List with a List https://stackoverflow.com/questions/1012185/in-python-how-do-i-index-a-list-with-another-list

Countryname to CountryCode https://stackoverflow.com/questions/38523559/is-it-possible-to-make-plotly-choropleth-use-iso-3166-1-alpha-2-country-codes-in

Extract Json https://www.youtube.com/watch?v=19-LOqdI61k

https://plot.ly/python/reference/#choropleth