Hardly a week goes by without hearing about an act of terrorism somewhere in the world. Innocent people are getting killed just because they are at the wrong place at the wrong time. Violence and threats used to intimidate people and countries is growing. Explosives in 2013 have caused 3551 deaths. 30124 people were killed in Iraq due to terrorist attacks. 52% fatalities in 2013 was due to Bombs/Explosives. Firearms and Explosives alone Each of these incidents can cause anxiety, fear and, worst of all, a feeling of helplessness. Arming oneself with the knowledge of terrorism may help in overcoming this feeling of helplessness. Knowledge of some of these issues may even provide ideas on how to solve this problem.
Hungarian mathematician named George Polya once said that the problem solving starts with an understanding of the problem first. Understanding terrorism is a monumental task and an attempt is made in this project to display terrorism from different angles in the hope that these plots will show various areas affected by the terrorist problem. The dataset of terrorist events is maintained by the University of Maryland at the Global terrorism Database (GTD) website. This project is created based on this dataset for all the years from 2006 to 2013.
Effects of Terrorism There are several views that can be generated from the GTD dataset. However, the goal in this project was to use as many tools as possible learned in the IS 608 class to show different aspects of this data. The resulting plots are displayed in this page as well as the other pages linked through the tabs above. The main page has the googleVis plots, the weapons page uses D3 Javascript and the Terrorist groups page uses ggplot2.
Highlighting many issues: Visual tools are used to highlight many issues caused by Terrorism. The number of people dying from terrorist attacks has increased in recent years and that is a terrifying development shown by a plot in this page. There are several militant groups who are responsible for these deaths and the groups that caused the most deaths are shown in a plot in the Terrorist Groups tab. The militants have not spared innocent young lives in schools and that fact is displayed in a plot in that tab as well. The plot that uses the world map below shows the countries that were most affected by terrorist attacks. Study on the attack weapons used is in the Weapons tab and displays the weapons that caused the most fatalities.
Technical details: This project was created utilizing some of the several techniques learned in this class. The googleis, ggplot and D3 Javascript libraries were chosen for this project and Rstudio environment was used to develop all the R code with the knitr to knit the R files to html files. The data munging of the GTD dataset was done using the sqldf library in R. The dataset has issues like single quotes and Null values (NAs) had to be handled.
GTD Dataset: Strengths: Open source dataset from GTD is a great asset to help people who want to understand terrorism related issues. Its also of great help to students of Data Analytics who are looking for datasets to practice their newly acquired skills in Data Analytics. Weaknesses: The list of terrorist groups is limited to 53 terrorist groups and there are way more than 53 groups, involved in brutal attacks around the world. For example, the 9/11 attackers were not in any group when that attack was added to this dataset, so the group responsible for these fatalities may not even show up as responsible for this particular attack in the dataset. Also, several fields are unknown under weapons, terrorist groups and fatalities. Therefore, one needs to be careful when quoting numbers and making definite statement about terrorist attacks based on this dataset.
The following plot was created by using the gvisMotionChart() from googleVis library to provide a bird eye view of the total fatalities since 2006. The number of deaths was aggregated per year and the plot gives an option to filter data based on the attack type. There is also a choice to view data as a scatterplot or a bar chart or a line chart. The other options include choosing the size of the bubble in the scatterplot to indicate the number of fatalities and the slider at the bottom, for the year the attacks occurred. The table was created using gvisTable() and merged with the motion chart using gvisMerge().
## Warning: package 'ggplot2' was built under R version 3.1.3
|
|
Most deaths occurred in Iraq, followed by Afghanistan, Pakistan, India and Nigeria. Hovering the mouse on the countries will display the fatalities suffered by that country. The scrollable list below the map shows the countries and their numbers for fatalities.
|
|