A package for visualizing military spending of up to 4 countries
This is under review.
Using a SIPRI dataset, milspend can visualize military spending of up to four countries.
dataset is downloadable from:
How to install milspend
You may need matplotlib library.
$ pip install matplotlib
$ pip install milspend
How to run milspend
$ milspend USA China Russia Japan
$ milspend Japan 'Korea, South'
To run us_china_russia.py
SIPRI-Milex-data-1949-2020_0.xlsx file needs to be placed in the same directory as the following file us_china_russia.py.
$ python us_china_russia.py
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.