Difference between revisions of "Group14 Report"

From Visual Analytics and Applications
Jump to navigation Jump to search
 
(44 intermediate revisions by 2 users not shown)
Line 7: Line 7:
 
| style="font-family:Segoe UI; font-size:100%; solid #000000; background:#c2dfe3; text-align:center;" width="25%" |  
 
| style="font-family:Segoe UI; font-size:100%; solid #000000; background:#c2dfe3; text-align:center;" width="25%" |  
 
;
 
;
 +
[[ISSS608_2017-Group14_Overview|<b><font size="2"><font color="#373f51">Overview</font></font></b>]]
 +
 +
| style="font-family:Segoe UI; font-size:100%; solid #1B338F; background:#c2dfe3; text-align:center;" width="25%" |
 +
 
[[ISSS608_2017-Group14_Proposal|<b><font size="2"><font color="#373f51">Proposal</font></font></b>]]
 
[[ISSS608_2017-Group14_Proposal|<b><font size="2"><font color="#373f51">Proposal</font></font></b>]]
  
Line 29: Line 33:
 
<!--OVERVIEW CONTENT -->
 
<!--OVERVIEW CONTENT -->
 
==Overview==
 
==Overview==
The global arms trade has been a major concern as the international transfer of arms between states could lead to wars, crimes against humanity and contribute to serious violations of international human rights.
+
The arms trade is a global issue of concern because of its negative consequences related to armed conflict, wars, and human rights abuses [1]. It emerged as one of the main global issues in the post-Cold War era in addition to problems such as disease, poverty and gender inequality, as arms supplier countries recognized the effect of stockpiling weapon systems on the breakout of armed conflict.  
The Stockholm International Peace Research Institute (SIPRI) conducts research on arms transfers between regions and states aimed at increasing the fundamental understanding of the impact of arms transfers and to support policymaking. SIPRI aims to contribute to greater transparency in the global arms trade to ensure responsible international arms transfers, hence helping to prevent violent conflict, alleviate tensions and warn about potentially destabilizing arms accumulations. Based on the latest publication by SIPRI in 2017, a rising trend is observed in the volume of international transfers of major weapons, with the highest volume of arm transfers recorded between 2013 to 2017, since 1990 [1]. Research conducted by SIPRI also shows that the global arms trade industry is continuing to export weapons into for deadly armed conflicts.   [2]
+
The Stockholm International Peace Research Institute (SIPRI) conducts research on arms transfers between regions and states aimed at increasing the fundamental understanding of the impact of arms transfers and to support policymaking. SIPRI aims to contribute to greater transparency in the global arms trade to ensure responsible international arms transfers, hence helping to prevent violent conflict, alleviate tensions and warn about potentially destabilizing arms accumulations. Based on the latest publication by SIPRI in 2017, a rising trend is observed in the volume of international transfers of major weapons, with the highest volume of arm transfers recorded between 2013 to 2017, since 1990 [2].
 +
 
 +
The lack of significant improvement in managing the global arms trade, despite implemented global policies and publication of data, prompted our group to develop an alternative solution for the exploration and analysis of data published by SIPRI. Our group has developed an interactive application that allows users to visually explore and analyse the global arms trade. It is through this that we hope to offer an additional dimension of transparency and accountability that will invite greater scrutiny to this unabating global problem.  
 
   
 
   
<!--Tourism-->
+
<!--PAST WORKS-->
<div style="text-align:center;vertical-align:bottom;padding-top:5px;">
+
 
<font size = 4><span style="font-family:sans-serif;">Trend in International Arms Transfers,1978 to 2017 </span></font>
+
==Review and Critique of Past Works==
</div>
+
A number of applications exist for the visualization of arms trade data and most of the visualisations are mainly static. SIPRI has produced an [http://visuals.sipri.org/ interactive web platform] using data in their published database but the application was only focused on military expenditure instead of arms trade flows. There has also been no visualisations carried out based for countries with Low Global Peace Index ratings.<br>
 +
Our project aims to contribute an application featuring multiple visualizations of arms imports. The following sections describe our approach to the problem and how the application was designed and built.
  
 
{| width="100%" cellspacing="0" cellpadding="0" valign="top" border="0"  |   
 
{| width="100%" cellspacing="0" cellpadding="0" valign="top" border="0"  |   
 
| style="text-align:center;" |   
 
| style="text-align:center;" |   
 
;
 
;
[[File:TIV Trends.jpg|border|600px]]
+
[[File:group14_1.png|border|600px]]
 
;
 
;
 
|}
 
|}
<!--Tourism-->
+
 
 
  
 
<!-- MOTIVATION--->
 
<!-- MOTIVATION--->
  
 
==Motivation and Objectives==
 
==Motivation and Objectives==
Based on the Global Peace Index 2018 published by the Institute for Economics and Peace, we have identified the countries with 'Low' and 'Very Low Peace' global peace index. [3]
+
Based on the Global Peace Index 2018 published by the Institute for Economics and Peace, we have identified the countries with 'Low' and 'Very Low Peace' global peace index ratings. [3]
  
Our project aims to identify the trends and patterns in the international arms transfers at the regional and country levels for these countries and we wish to explore the arms trade dependencies of these countries with other countries. We also aim to explore the major importers and exporters of arms weapons and to find out the relationships between the global arm importers and exporters. Our team is motivated to design a dynamic and interactive dashboard to provide students and policymakers a better understanding and holistic view of the global arms trade.
+
Our project aims to identify the trends and patterns in the international arms transfers at the regional and country levels for these Low Peace countries and explore the arms trade dependencies of these countries for the period 1993 to 2017. We also aim to explore the major importers and exporters of arms weapons and to find out the relationships between the global arm importers and exporters. Our team is motivated to design a dynamic and interactive dashboard to provide students and policymakers a better understanding and holistic view of the global arms trade for the Low Peace countries.
  
Through our analysis, we hope to address the following: <br>
+
<!--DATA SOURCES -->
 +
==Data Sources==
 +
The table shows the data sources for our project. We use the Trend-Indicator-Value (TIV) published by SIPRI to visualise the trends and patterns of arms imports for the Low Peace Countries from 1993 to 2017.<br>
  
'''1) To explore the arms imports at regional and country level''' <br>
+
{| width="100%" cellspacing="0" cellpadding="0" valign="top" border="0"
We want to observe the trends in the global arms imports, find out the countries and regions with the highest arm imports and also identify if there are any unusual patterns in the global arm transfers over the years. <br>
+
| style="text-align:center;" | 
 +
;
 +
[[File:group14_10.png|border|600px]]
 +
;
 +
|}
  
'''2) To explore the arm trade dependencies between countries'''  <br>
+
<!--DESIGN FRAMEWORK -->
We would like to explore the chord diagram and network chart to find out the exchange of arms transfer between countries. <br>
+
==Design Framework==
  
'''3) Analyse the top exporters of arms''' <br>
+
<font size = 3><span style="font-family:Segoe UI;font-weight:500;padding-bottom:1px; border-bottom: solid 1px black;">1. Interface:</span></font>
For a particular region or country, we would like to find out which are the top exporters supplying arms and find out the trends in the arms suppliers across the years. <br>
 
  
'''4) Explore the arms imports with the economic and population indicators''' <br>
+
In this section, we will run through the dashboard visualizations. We used the '''flexdashboard''' package as we can easily create flexible and interactive dashboards with R. We included '''Shiny''' components for additional interactivity.<br>  
Our group wishes to find out if there is a relationship between the economic and population indicators with the arms imports of countries.
+
There are multiple tabs to our dashboard and each tab focuses on a specific type of visualisation. By having separate tabs, the user does not need to scroll up and down and can instead toggle freely between tabs to access the different visualisations. The dashboard consists of interactive plots so that users may gain insight on trends of the global arms imports for the low peace countries and explore the arms imports trade relationships between countries, by changing the filter options and by hovering and highlighting over the charts.<br>
  
 +
The purpose of this dashboard is to provide an application interface which facilitates an interactive analysis arms imports trend and arms trade over time and also arms dependencies of the low peace countries. The application also includes visualisation the relationship of arms imports with the social and economic indicators of the low peace countries.<br>
  
 +
In summary, the dashboard consists of the following 6 tabs for the visualisation of the above mentioned:
 +
 +
1. 2018 Global Peace Index <br>
 +
2. Top 100 Importers from 1993 to 2017 <br>
 +
3. Visualization of Arms Dependencies <br>
 +
4. Visualization of Arms Trade Over Time <br>
 +
5. Visualization of Arms Import by FDI, GDP & Population Size, and <br>
 +
6. Visualization of Arms Trade Network.
  
==Past Works==
 
A number of applications exist for the visualization of arms trade data. SIPRI produced an interactive web platform using data in their published database  but focused on military expenditure instead of arms trade flows (http://visuals.sipri.org/).
 
 
{| width="100%" cellspacing="0" cellpadding="0" valign="top" border="0"  |   
 
{| width="100%" cellspacing="0" cellpadding="0" valign="top" border="0"  |   
 
| style="text-align:center;" |   
 
| style="text-align:center;" |   
 
;
 
;
[[File:group14_1.png|border|400px]]
+
[[File:group14_11.JPG|border|1100px]]
 
;
 
;
 
|}
 
|}
  
More prominently,  Google produced an interactive platform visualizing the imports and exports of small arms and ammunition [7]. These applications, while enhancing the interpretability of published data, often focus only on one aspect of the arms trade using a singular visualization technique (http://armsglobe.chromeexperiments.com/).
+
<br>
 +
 
 +
<font size = 3><span style="font-family:Segoe UI;font-weight:500;padding-bottom:1px; border-bottom: solid 1px black;">2. Visualisations:</span></font>
 +
 
 +
'''2018 Global Peace Index'''<br>
 +
 
 +
We created a choropleth map to allow users to visualise geographically where the countries with low Global Peace Index (GPI) ratings are located. Countries are coloured by their Global Peace Index rankings with darker shades of red indicating a poor Global Peace ranking or countries considered to be least peaceful. We used the '''leaflet''' package in R as it is highly interactive and customizable.
 +
 
 +
<b><i>Features of the Choropleth map:</i></b> <br>
 +
1. Heat map of the world showing the 2018 Global Peace Index Ratings for all of the countries <br>
 +
2. Users can zoom in and out of the map <br>
 +
3. Users can drag the map <br>
 +
4. Users can hover over the country of interest to see the country name and its Global Peace Index ranking. <br>
 +
5. The countries that are grey here are countries that are not in the covered in the 2018 Global Peace Index Ratings <br>
 +
 
 
{| width="100%" cellspacing="0" cellpadding="0" valign="top" border="0"  |   
 
{| width="100%" cellspacing="0" cellpadding="0" valign="top" border="0"  |   
 
| style="text-align:center;" |   
 
| style="text-align:center;" |   
 
;
 
;
[[File:group14_2.png|border|400px]]
+
[[File:group14_9.JPG|border|800px]]
 
;
 
;
|}
+
|} <br>
  
To value-add to this, we contribute an application featuring multiple visualizations, each providing a different aspect of exploration. The following sections describe our approach to the problem and how the application was designed and built.
+
'''Visualizing the Arms Dependencies'''<br>
  
 +
We use a treemap and chord diagram to visualize the arms dependencies for the 42 Low Peace selected countries. <br>
  
==Design Framework==
 
Our analysis of the SIPRI arms imports data is done the following way:
 
  
'''1. Visualisation of Arms Dependencies''' <br>
+
'''Chord Diagram''' <br>
''' 2. Visualisation of Arms Trade over time''' <br>
+
The chord diagram shows the source of arms imports flows for the selected 42 countries, in a given five-year period. It is created using the '''chorddiag''' package in R, which allows the creation of interactive chord diagrams using the JavaScript visualization library D3 from within R using the htmlwidgets interfacing framework. <br>
''' 3. Visualisation of Arms Import by FDI, GDP and Population'''  <br>
 
  
'''Visualisation of Arms Dependencies''' <br>
+
<b><i>Features of the Chord Diagram:</i></b> <br>
 +
1. Users can filter by region, as well as five-year interval time periods to explore the total volume of arms imports for countries in the selected region and how much each country imports from the supplier countries. <br>
 +
2. Hovering over a band between two countries highlights the band and reveals the volume of arms imports to the importing country from its supplier. <br>
  
'''Chord Diagram'''
+
<div style="float:left;width:50%">
To visualise the arm imports dependencies between countries, chord diagram was used.
+
[[Image:group14_3.JPG|640px|center|border]]<br/>
 +
</div>
 +
<div style="float:left;width:50%">
 +
[[Image:group14_4.png|500px|center|border]]<br/>
 +
</div> <br>
  
'''Package(s) Used''' <br>
 
The chorddiag package in R allows to create interactive chord diagrams using the JavaScript visualization library D3 from within R using the htmlwidgets interfacing framework. <br>
 
It is also possible to utilize the circlize package to visualize the chord diagram with added customizable functions to visualize additional plots within the chord diagram. However, circlize package lacks the interactivity for users on the chord diagram itself. For example, users will not be able to highlight trade flows of interest within the chord diagram itself. The chorddiag package requires the data to be in a square matrix format, hence multiple data wrangling had to be performed to ensure that datasets had to be in square matrix format prior to plotting of the chord diagram.
 
  
'''Application'''
+
'''Treemap'''<br>
Users are filter by the region to find out the total imports trade flow for countries in the selected region. In addition, users can also filter by the 5-year interval time periods. Users can hover over a particular arc to find out the intra country import details. In the example below, the tooltip shows that South Africa imports 420 arms imports (TIV millions) from Israel.
+
The objective of the treemap is to show the regions and countries that specifically make up a selected country imports, over five-year periods. The hierarchy of the treemap is the five-year periods as the first hierarchy, followed by the region and then each specific country in the region. The treemap is created using the '''treemap''' package and the functionality of the treemap is combined with the interactivity of the '''d3.js''' treemaps though the d3treeR htmlwidget. <br>
  
 +
<b><i>Features of the Treemap:</i></b> <br>
 +
1. The total imports value is represented by the size of each treemap node as well as the colour. The darker the shade of red, the higher the import value.  <br>
 +
2. Users can filter by the country (one of the 42 countries) to visualize the selected country’s dependencies on supplier countries for arms in five-year periods from 1993 to 2017. <br>
 +
3. Users can click on a region in the treemap to find out individual countries for the supplier region.  <br>
  
 
{| width="100%" cellspacing="0" cellpadding="0" valign="top" border="0"  |   
 
{| width="100%" cellspacing="0" cellpadding="0" valign="top" border="0"  |   
 
| style="text-align:center;" |   
 
| style="text-align:center;" |   
 
;
 
;
[[File:group14_3.JPG|border|500px]]
+
[[File:group14_5.JPG|border|500px]]
;
 
|}
 
{| width="100%" cellspacing="0" cellpadding="0" valign="top" border="0"  | 
 
| style="text-align:center;" | 
 
;
 
[[File:group14_4.png|border|500px]]
 
 
;
 
;
|}
+
|} <br>
 
 
  
'''Tree Map'''
 
The treemap allow users to filter by country to visualize the selected country’s dependencies on other countries for arms in 5-years period from 1993 to 2017.
 
  
'''Package(s) Used''' <br>
+
'''Visualizing the Arms Trade Flows Over Time'''<br>
The treemap package was used and it has powerful set of tools to transform, analyze, and color the treemap.
 
The functionality of the treemap is combined together with the interactivity of the d3.js treemaps in R though the d3treeR htmlwidget.  d3treeR is built to work seamlessly with treemaps from the R treemap package.
 
  
Users can filter by a particular country to visualize the selected country’s dependencies on other countries for arms in 5-years period from 1993 to 2017.
+
The ridgeline plots were incorporated to visualize changes in arms imports of the 42 countries over time. The '''ggplot2''' and '''ggridge''' packages were used to create the ridgeline plot.The ggridge plot is useful as it can compare the trends in the arms imports of several countries together.
 +
The facet_grid function is used to form a matrix of panels consisting of the export regions and the five-year time period. With the facetted diagram, users can explore the distribution of import values for countries of the selected region by five-year time periods and by export regions. <br>
  
'''Application'''
+
<b><i>Features of the Ridgeline Plot:</i></b> <br>
The treemap is structured in a hierarchical format by Year_Range, Region and Country and the measure value, Total arms imports. The total imports value is used to determine the size of each treemap node. Regions with bigger rectangle size are bigger suppliers of the arms to the selected country in the filter option. When Users can click on a particular region, the treemap further drills down into the countries level for the selected region. Users will be able to identify the selected country dependencies of arm imports both at the region and country level.
+
1. Users can filter by region to explore the distribution of import values for countries in the selected region over time.<br>
 +
2. The '''facet_grid''' function is used to form a matrix of panels consisting of the export regions and the five-year time period. The columns of the facet grid represent export regions while the rows of facet grid represent five-year time periods. With the facetted diagram, users can explore the distribution of import values for countries of the selected region by five-year time periods and by export regions. <br>
  
 
{| width="100%" cellspacing="0" cellpadding="0" valign="top" border="0"  |   
 
{| width="100%" cellspacing="0" cellpadding="0" valign="top" border="0"  |   
 
| style="text-align:center;" |   
 
| style="text-align:center;" |   
 
;
 
;
[[File:group14_5.JPG|border|500px]]
+
[[File:group14_6.JPG|border|1000px]]
 
;
 
;
|}
+
|}<br>
 +
 +
'''Visualizing the relationship between arms imports, foreign direct investment and GDP per capita''' <br>
  
 +
The bubble plot visualises the relationship between arms imports of the 42 countries together with the countries social and economic indicators. To create the bubble plot, we use the '''plotly''' package as it is an interactive, browser-based charting library built on the open source JavaScript graphing library plotly.js.
  
''' Arms Trade Network'''
+
<b><i>Features of the Bubble Plot:</i></b> <br>
Similar to the Arms Trade Dependencies section where users can visualize where a particular country in a selected region obtain their arms from, the network diagram is also able to do so. However, the chord diagram is only suitable for visualizing bilateral trade flows. With a network diagram, users can not only see where the interested country is importing from, but users can also easily see at a glance which other countries in the same region are these exporters exporting to.
+
1. x-axis represents the GDP per capita and y-axis represents the Foreign Direct Investment.<br>
 +
2. The size of the bubble represents the Trend Indicator Value(TIV) of the arms imports for each country.<br>
 +
3. The colour of the bubble represents the population size for each country.<br>
 +
4. Users can use the slider to choose different years to explore how the arms imports change with the social and economic indicators for the selected country. <br>
  
'''Package(s) Used'''
+
{| width="100%" cellspacing="0" cellpadding="0" valign="top" border="0"  | 
Visnetwork packages is used as it highly customizable and is interactive. It was possible for us to also use the D3network package, which allows for interactivity for users. However, it was not eventually used as it lacks the customizability offered by the visNetwork package, where it is possible to change the icons and the physics of the nodes as well.
+
| style="text-align:center;" | 
 +
;
 +
[[File:group14_7.png|border|700px]]
 +
;
 +
|}<br>
 +
  
 +
'''Visualizing the Arms Trade Network''' <br>
  
'''Application''' <br>
+
The network diagram was created to visualise the links between the 42 importing countries and their suppliers as shown below. The network diagram is used as an additional dimension to arms import trade flows on top of the bilateral trade flows visualized using the chord diagram. We use the '''Visnetwork''' package as it highly customizable and interactive. <br>
Users can filter by Region and the 5 year time period to see which countries in the selected region are importing their weapons from. The countries are colour coded accorded based on the region they reside. This is useful as users can also identify the regions in which a particular country is importing from and see if a country is importing more or less from a specific region.  
 
  
Users can hover over a particular country of the selected region and time period and the network graph will highlight countries supplying arms to that particular country.  
+
<b><i>Features of the Network Diagram:</i></b> <br>
 +
1. Users can filter by region and by five-year interval time periods to identify which are the exporter countries for the selected region of choice. <br>
 +
2. Hovering over a particular country of the selected region and time period results highlights the countries exporting arms to that particular country. <br>
 +
3. With a network diagram, users can not only see where the interested country is importing from, but users can also easily see at a glance which other countries in the same region are these exporters exporting to.
  
 +
{| width="100%" cellspacing="0" cellpadding="0" valign="top" border="0"  | 
 +
| style="text-align:center;" | 
 +
;
 +
[[File:group14_8.JPG|border|800px]]
 +
;
 +
|}<br>
  
 +
<!--DEMONSTRATION : SAMPLE TEST CASES-->
  
''' 2. Visualisation of Arms Trade over time''' <br>
+
==Demonstration : Sample Test Cases==
 +
'''1. Increasing arm imports of India over the years'''<br>
 +
India has been importing higher volume of arms over the past few years and we can also notice that the foreign direct investment into India has consistently grown as well. The increasing volume of FDI inflow could have resulted in greater arms being imported by India.
  
'''Ridgeline Plot''' <br>
+
{| width="100%" cellspacing="0" cellpadding="0" valign="top" border="0"  | 
The ridgeline plot is a convenient way to  visualise the changes in the arms imports over time from 1993 to 2017 for the series of countries.
+
| style="text-align:center;" | 
 +
;
 +
[[File:group14_12.png|border|800px]]
 +
;
 +
|}<br>
  
'''Package(s) Used'''<br>
+
{| width="100%" cellspacing="0" cellpadding="0" valign="top" border="0"  | 
The ridgeline plot between countries and the arms imports is created using the ggplot2 and ggridge packages. From the ggridge packages, the geom_density_ridges function is used to calculate the density estimates of arms imports values and plots the density estimates using ridgelines. The ggridge plot is useful as it can compare the trends in the arms imports of several countries together.
+
| style="text-align:center;" | 
 +
;
 +
[[File:group14_13.png|border|800px]]
 +
;
 +
|}<br>
  
'''Application''' <br>
+
'''2.Arms Imports of Countries in Middle East and North Africa in 2013 to 2017'''<br>
Users can filter by the region to find out the distribution of import values for the countries in the selected region over time.  
+
The arms trade network diagram shows that in the last 5 years, countries in Middle East and North Africa mainly import arms from the Europe and Central Asia. We can see that Saudi Arabia imports from majority of the countries in Europe and Central Asia and also from China.
Users can visualise the distribution of the import values for countries of the selected region by the 5 year time period and also by the export regions.<br>
 
  
 
+
{| width="100%" cellspacing="0" cellpadding="0" valign="top" border="0"  | 
''' 3. Visualisation of Arms Import by FDI, GDP and Population''' <br>
+
| style="text-align:center;" |  
We used the bubble plot to compare the arms imports values of individual countries with the social and economic indicators of the countries, which are the Population Size, net Foreign Direct Investment inflow (FDI) and the Gross Domestic Product (GDP) per capita.<br>
+
;
 
+
[[File:group14_14.png|border|1100px]]
'''Package(s) Used''' <br>
+
;
plotly package is used as it is an interactive, browser-based charting library built on the open source JavaScript graphing library plotly.js. The plotly library contains the ggplotly function, which will convert ggplot2 figures into a Plotly object.  
+
|}<br>
 
 
'''Application''' <br>
 
Users can select different years to to see how the arms imports changes with the social and economic indicators for the country. For India, users can see that the arms imports increases with increasing FDI.<br>
 
  
  
 +
<!--DISCUSSION -->
  
 
==Discussion==
 
==Discussion==
What has the audience learned from your work? What new insights or practices has your system enabled? A full blown user study is not expected, but informal observations of use that help evaluate your system are encouraged.
+
Through our application, we were able to identify the trends in the arms imports of the Low Peace countries from 1993 to 2017 and we were able to explore the arms trade dependencies of these countries. We showed how the arms imports of countries changes with different suppliers (export regions) over time and the relationship of a selected country imports with its social and economic indicators.
  
==Future Work==
+
<!--FUTURE WORK -->
A description of how your system could be extended or refined.
 
  
==Installation Guide==
+
==Future Work==  
including hardware configuration and software integrationn.
+
1. The application currently focuses on countries with Low and Very Low Peace index. It could to be enhanced to include more countries from the SIPRI arms imports database to provide a better coverage of the global arms imports trade.<br>
 +
2. We could also include the military spending available in SIPRI database to explore the relationship between military spending and arms trade. <br>
 +
3. We could also extend our analysis to visualise the relationship between energy dependency and arms trade. <br>
  
==User Guide==
+
<!--ACKNOWLEGDEMENT -->
Step-by-step guide on how to use the data visualisation functions designed.
 
  
 +
==Acknowledgement==
 +
We would like to thank our professor, Dr. Kam Tin Seong for his unwavering support and guidance throughout the journey of our project.
  
 
<!--REFERENCES -->
 
<!--REFERENCES -->
Line 198: Line 256:
 
==References==
 
==References==
  
[1] Stockholm International Peace Research Institute. https://www.sipri.org/research/armament-and-disarmament/arms-transfers-and-military-spending/international-arms-transfers<br />
+
[1] http://www.globalissues.org/issue/73/arms-trade-a-major-cause-of-suffering <br />
[2] Amnesty International. https://www.amnesty.org/en/latest/campaigns/2017/09/killer-facts-the-scale-of-the-global-arms-trade/<br />
+
[2] https://www.sipri.org/research/armament-and-disarmament/arms-transfers-and-military-spending/international-arms-transfers/<br />
[3] The Institute for Economics and Peace. http://visionofhumanity.org/indexes/global-peace-index/
+
[3] http://visionofhumanity.org/app/uploads/2018/06/Global-Peace-Index-2018-2.pdf/

Latest revision as of 16:23, 14 August 2018

Randy-tarampi-225537-unsplash.jpg Towards Greater Transparency for the Global Arms Trade

Overview

Proposal

Report

Poster

Application

 



Overview

The arms trade is a global issue of concern because of its negative consequences related to armed conflict, wars, and human rights abuses [1]. It emerged as one of the main global issues in the post-Cold War era in addition to problems such as disease, poverty and gender inequality, as arms supplier countries recognized the effect of stockpiling weapon systems on the breakout of armed conflict. The Stockholm International Peace Research Institute (SIPRI) conducts research on arms transfers between regions and states aimed at increasing the fundamental understanding of the impact of arms transfers and to support policymaking. SIPRI aims to contribute to greater transparency in the global arms trade to ensure responsible international arms transfers, hence helping to prevent violent conflict, alleviate tensions and warn about potentially destabilizing arms accumulations. Based on the latest publication by SIPRI in 2017, a rising trend is observed in the volume of international transfers of major weapons, with the highest volume of arm transfers recorded between 2013 to 2017, since 1990 [2].

The lack of significant improvement in managing the global arms trade, despite implemented global policies and publication of data, prompted our group to develop an alternative solution for the exploration and analysis of data published by SIPRI. Our group has developed an interactive application that allows users to visually explore and analyse the global arms trade. It is through this that we hope to offer an additional dimension of transparency and accountability that will invite greater scrutiny to this unabating global problem.


Review and Critique of Past Works

A number of applications exist for the visualization of arms trade data and most of the visualisations are mainly static. SIPRI has produced an interactive web platform using data in their published database but the application was only focused on military expenditure instead of arms trade flows. There has also been no visualisations carried out based for countries with Low Global Peace Index ratings.
Our project aims to contribute an application featuring multiple visualizations of arms imports. The following sections describe our approach to the problem and how the application was designed and built.

Group14 1.png


Motivation and Objectives

Based on the Global Peace Index 2018 published by the Institute for Economics and Peace, we have identified the countries with 'Low' and 'Very Low Peace' global peace index ratings. [3]

Our project aims to identify the trends and patterns in the international arms transfers at the regional and country levels for these Low Peace countries and explore the arms trade dependencies of these countries for the period 1993 to 2017. We also aim to explore the major importers and exporters of arms weapons and to find out the relationships between the global arm importers and exporters. Our team is motivated to design a dynamic and interactive dashboard to provide students and policymakers a better understanding and holistic view of the global arms trade for the Low Peace countries.

Data Sources

The table shows the data sources for our project. We use the Trend-Indicator-Value (TIV) published by SIPRI to visualise the trends and patterns of arms imports for the Low Peace Countries from 1993 to 2017.

Group14 10.png

Design Framework

1. Interface:

In this section, we will run through the dashboard visualizations. We used the flexdashboard package as we can easily create flexible and interactive dashboards with R. We included Shiny components for additional interactivity.
There are multiple tabs to our dashboard and each tab focuses on a specific type of visualisation. By having separate tabs, the user does not need to scroll up and down and can instead toggle freely between tabs to access the different visualisations. The dashboard consists of interactive plots so that users may gain insight on trends of the global arms imports for the low peace countries and explore the arms imports trade relationships between countries, by changing the filter options and by hovering and highlighting over the charts.

The purpose of this dashboard is to provide an application interface which facilitates an interactive analysis arms imports trend and arms trade over time and also arms dependencies of the low peace countries. The application also includes visualisation the relationship of arms imports with the social and economic indicators of the low peace countries.

In summary, the dashboard consists of the following 6 tabs for the visualisation of the above mentioned:

1. 2018 Global Peace Index
2. Top 100 Importers from 1993 to 2017
3. Visualization of Arms Dependencies
4. Visualization of Arms Trade Over Time
5. Visualization of Arms Import by FDI, GDP & Population Size, and
6. Visualization of Arms Trade Network.

Group14 11.JPG


2. Visualisations:

2018 Global Peace Index

We created a choropleth map to allow users to visualise geographically where the countries with low Global Peace Index (GPI) ratings are located. Countries are coloured by their Global Peace Index rankings with darker shades of red indicating a poor Global Peace ranking or countries considered to be least peaceful. We used the leaflet package in R as it is highly interactive and customizable.

Features of the Choropleth map:
1. Heat map of the world showing the 2018 Global Peace Index Ratings for all of the countries
2. Users can zoom in and out of the map
3. Users can drag the map
4. Users can hover over the country of interest to see the country name and its Global Peace Index ranking.
5. The countries that are grey here are countries that are not in the covered in the 2018 Global Peace Index Ratings

Group14 9.JPG


Visualizing the Arms Dependencies

We use a treemap and chord diagram to visualize the arms dependencies for the 42 Low Peace selected countries.


Chord Diagram
The chord diagram shows the source of arms imports flows for the selected 42 countries, in a given five-year period. It is created using the chorddiag package in R, which allows the creation of interactive chord diagrams using the JavaScript visualization library D3 from within R using the htmlwidgets interfacing framework.

Features of the Chord Diagram:
1. Users can filter by region, as well as five-year interval time periods to explore the total volume of arms imports for countries in the selected region and how much each country imports from the supplier countries.
2. Hovering over a band between two countries highlights the band and reveals the volume of arms imports to the importing country from its supplier.

Group14 3.JPG

Group14 4.png



Treemap
The objective of the treemap is to show the regions and countries that specifically make up a selected country imports, over five-year periods. The hierarchy of the treemap is the five-year periods as the first hierarchy, followed by the region and then each specific country in the region. The treemap is created using the treemap package and the functionality of the treemap is combined with the interactivity of the d3.js treemaps though the d3treeR htmlwidget.

Features of the Treemap:
1. The total imports value is represented by the size of each treemap node as well as the colour. The darker the shade of red, the higher the import value.
2. Users can filter by the country (one of the 42 countries) to visualize the selected country’s dependencies on supplier countries for arms in five-year periods from 1993 to 2017.
3. Users can click on a region in the treemap to find out individual countries for the supplier region.

Group14 5.JPG



Visualizing the Arms Trade Flows Over Time

The ridgeline plots were incorporated to visualize changes in arms imports of the 42 countries over time. The ggplot2 and ggridge packages were used to create the ridgeline plot.The ggridge plot is useful as it can compare the trends in the arms imports of several countries together. The facet_grid function is used to form a matrix of panels consisting of the export regions and the five-year time period. With the facetted diagram, users can explore the distribution of import values for countries of the selected region by five-year time periods and by export regions.

Features of the Ridgeline Plot:
1. Users can filter by region to explore the distribution of import values for countries in the selected region over time.
2. The facet_grid function is used to form a matrix of panels consisting of the export regions and the five-year time period. The columns of the facet grid represent export regions while the rows of facet grid represent five-year time periods. With the facetted diagram, users can explore the distribution of import values for countries of the selected region by five-year time periods and by export regions.

Group14 6.JPG


Visualizing the relationship between arms imports, foreign direct investment and GDP per capita

The bubble plot visualises the relationship between arms imports of the 42 countries together with the countries social and economic indicators. To create the bubble plot, we use the plotly package as it is an interactive, browser-based charting library built on the open source JavaScript graphing library plotly.js.

Features of the Bubble Plot:
1. x-axis represents the GDP per capita and y-axis represents the Foreign Direct Investment.
2. The size of the bubble represents the Trend Indicator Value(TIV) of the arms imports for each country.
3. The colour of the bubble represents the population size for each country.
4. Users can use the slider to choose different years to explore how the arms imports change with the social and economic indicators for the selected country.

Group14 7.png



Visualizing the Arms Trade Network

The network diagram was created to visualise the links between the 42 importing countries and their suppliers as shown below. The network diagram is used as an additional dimension to arms import trade flows on top of the bilateral trade flows visualized using the chord diagram. We use the Visnetwork package as it highly customizable and interactive.

Features of the Network Diagram:
1. Users can filter by region and by five-year interval time periods to identify which are the exporter countries for the selected region of choice.
2. Hovering over a particular country of the selected region and time period results highlights the countries exporting arms to that particular country.
3. With a network diagram, users can not only see where the interested country is importing from, but users can also easily see at a glance which other countries in the same region are these exporters exporting to.

Group14 8.JPG



Demonstration : Sample Test Cases

1. Increasing arm imports of India over the years
India has been importing higher volume of arms over the past few years and we can also notice that the foreign direct investment into India has consistently grown as well. The increasing volume of FDI inflow could have resulted in greater arms being imported by India.

Group14 12.png


Group14 13.png


2.Arms Imports of Countries in Middle East and North Africa in 2013 to 2017
The arms trade network diagram shows that in the last 5 years, countries in Middle East and North Africa mainly import arms from the Europe and Central Asia. We can see that Saudi Arabia imports from majority of the countries in Europe and Central Asia and also from China.

Group14 14.png



Discussion

Through our application, we were able to identify the trends in the arms imports of the Low Peace countries from 1993 to 2017 and we were able to explore the arms trade dependencies of these countries. We showed how the arms imports of countries changes with different suppliers (export regions) over time and the relationship of a selected country imports with its social and economic indicators.


Future Work

1. The application currently focuses on countries with Low and Very Low Peace index. It could to be enhanced to include more countries from the SIPRI arms imports database to provide a better coverage of the global arms imports trade.
2. We could also include the military spending available in SIPRI database to explore the relationship between military spending and arms trade.
3. We could also extend our analysis to visualise the relationship between energy dependency and arms trade.


Acknowledgement

We would like to thank our professor, Dr. Kam Tin Seong for his unwavering support and guidance throughout the journey of our project.


References

[1] http://www.globalissues.org/issue/73/arms-trade-a-major-cause-of-suffering
[2] https://www.sipri.org/research/armament-and-disarmament/arms-transfers-and-military-spending/international-arms-transfers/
[3] http://visionofhumanity.org/app/uploads/2018/06/Global-Peace-Index-2018-2.pdf/