Skip to content

igfe/wb-countries

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wb-countries

Interactive graph based on 4 economic indicators from World Bank Open Data

running

To run this project, it is assumed that python-is-python3 recommended that you understand how to use venv. cd to the root directory of this project. To make and activate venv and install requirements.txt:

python -m venv .venv
source .venv/bin/activate
python -m pip install -r requirements.txt

after doing this you can view the main graph with

python src/nations.py

output

This program plots an interactive graph of key economic indicators. It is currently hardcoded such that

  • x axis - gdp per capita
  • y axis - total fertility rate
  • size - population
  • color - life expectancy

Example ouput is given below: image Hovering over any of the datapoints will display information as in the guam example.

TODO

  • add user defined economic indicators
    • intelligently scale/format axes, and sizes based on the distribution of indicators
    • add command line interface
  • maybe use something like d3.js to make it a web app

About

View interactive graphs in python based on up to 4 economic indicators

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages