This repository was created as part of an assignment in UBC's Master of Data Science program. The goal of the assignment is to create an interactive dashboard that effectively visualizes specified research questions.
The interactive dashboard can be found here
The app has a single landing page that shows four plots that change based on a slider bar that changes the year shown, and two buttons. The two buttons specify import and export of weapons for each country globally (as available in the dataset). All four graphs change according to the button selected. The first graph is a global choropleth of each country with the colour shaded to the scale generated by the button selected. The bar graph below shows countries in the given year that have the largest weapon import or export as a percentage of GDP. For both the global choropleth plot, and the percentage of GDP plot, the data plotted changes with a slider bar that changes the year. The time-series data for specified countries (by the dropdown at the top) is displayed on the bottom two graphs. The default of the bottom 2 charts will show USA data. This allows a comparison between global changes and the specified country.
Please see the Proposal to further understand the purpose, motivation, data and research questions behind the report.
- build - the interactive Dashboard code (Python + Dash)
- data - datasets used for the report
- dirty - unmodified original datasets
- clean - cleaned tidy datasets
- gdp_1960_2018_worldbank.csv - cleaned GDP by Country dataset
- un-arms-and-ammunition_1988-2018.csv - cleaned Worldwide Arms and Ammunition Trading dataset
- doc - additional documentation and records
- media - images and other media resources used in the report and related documentation
- scripts - a set of useful scripts for the report
- clean-data.py - a Python script to prepare the original data and transform it to clean tidy form
- proposal.md - primary Proposal document with detailed description of research questions, data and purpose / motivation behind the report
Please note that all contributions are subject to the Code of Conduct.
We welcome contributions to this project! If you find a bug, have a feature request, or have general suggestions to improve this repository, please submit an issue, or feel free to fork this repository and submit a pull request.