Data Visualizing Global Terrorism Trends

Posted on Aug 6, 2016
The skills the author demoed here can be learned through taking Data Science with Machine Learning bootcamp with NYC Data Science Academy.

Objectives and Motivations

I want to start with a short story. Back on March 12th, 1993 I was sitting in class, and I heard a loud explosion. It wasn’t the sound a firecracker would make. This was a very visceral feeling. I felt it in my gut. It turns out that a bomb had gone off a couple of miles down the street at the Bombay Stock Exchange. This was one of 13 bombs that had gone off simultaneously in Bombay, my hometown. This wasn't the only time we've had to experience such a thing, at least data records and history wouldn't say so.

So the topic of global terrorism trends hits very close to home. As such I wanted to do something to visualize publicly available data on global terrorism, with the main purpose of helping people be more informed about how terrorism trends are changing on:
A. Attacks that are internationally motivated
B. The targets of all attacks
C. The number of attacks over the past 45 years in the U.S. as well as in India.

Data

I used the Global Terrorism Database which is managed by an organization called START, headquartered out of the University of Maryland. The data as of July 21st contained close to 157,000 records. START has done a great job building such a compendium of information that is available in the public domain and their efforts should be commended.

The data spans from 1970 to 2015 -- and as can be seen from the below plot, skews very greatly in terms of volume in recent years.

Data Visualizing Global Terrorism Trends

However, this is an artifact (and a limitation) of the data.  What is captured here is a trend in improved data collection in this increasingly digitized age.  

 

Global Data Trends

One question I wanted to answer was what proportion of attacks have been internationally motivated? There are two main variables that represented this information:
Logistically international attacks -- which looks at cases where the perpetrators' nationality differed from the location of the attack, and
Ideologically international attacks -- which looks at cases where the perpetrators' nationality differed from the victims' nationality. There is likely a fair amount of overlap between these variables, but as can be seen from the chart below (which shows the proportion of attacks that were logistically or ideologically international across the globe), that such trends are reducing in proportion over time.

Attack Type

Data Visualizing Global Terrorism Trends

A second interesting trend is one involving targets of attacks. As can be seen in the chart below, businesses seemed to be a more frequent target when compared to regular citizens back in the 70s and 80s. The "citizens" category refers to people being targeted, but not for any affiliations they may have with let's say government, military, police, business or any other organization or group. As can be seen in the chart below, regular citizens are becoming a target for a higher proportion of events as the years go by.

Data Visualizing Global Terrorism Trends

The bar charts below shows this same increasing trend in regular citizens being targeted by comparing this category to all other target types between 1970 and 2000. In the 70's and 80's the proportion of cases of citizens being targeted in relation to other targets was fairly low, but the change in trend between the two years shown in the charts below is very apparent. This may be one factor that additionally contributes to the perception of a lack of safety around the world. Anyone can be targeted.

GTD_1970_TargetsGTD_2015_TargetsThe last trend I'd like to focus on is the location of attacks. How are terrorist events spread across countries and how are these changing over time? The chart below visualizes the proportion of attacks by country for any specific period of time. In the tree map below, we're looking at all years since 1970 and it presents an expected picture of asian and middle eastern countries experiencing more trouble than others.

Terrorist Attacks Across the World

GTD_WorldTree_All_Years

Let's look at specific years. 1970 shows a very surprising difference. One reason for the high proportion of terrorism in the U.S. in 1970 could be the lack of information from foreign sources during the 70s. But the two screenshots included below is definitely suggesting a reduction of terrorist activity in the U.S. and a relative increase in activity in Asia over the last 40 odd years.

GTD_WorldTree_1970GTD_WorldTree_2015

 

 

 

 

 

 

 

The maps below corroborate the finding about the reduction of terrorist activities in the states over the years. Despite an increasing number of sources of information (especially digitized information), the number of terrorist activities recorded is trending down in the U.S.

GTD_US_1970_MapGTD_US_2015_Map

 

 

 

 

 

 

 

In comparison, the picture of terrorism events in India (2015) gives a glimpse into the alternate trend that is underway in Asia. While Northern India has always had trouble from separatist movements, it is particularly surprising to see the heavy cluster of events on the east coast of India.

GTD_INDIA_2015_Map

Conclusion

To conclude, I have focused on just three overall trends here, but ones that are very relevant to the conversations we are having today about global safety.  There is a lot more great information in the Global Terrorism Database, such as the differences by region in the proportion of attacks on abortion clinics, the types of weapons being used, the fact that explosives seems to be the biggest problem in terms of terrorist attacks around the world, among others. My next step is to create a web app to help you visualize such trends yourself, and uncover the story that you may find the most relevant. Stay tuned.

About Author

Leave a Comment

No comments found.

View Posts by Categories


Our Recent Popular Posts


View Posts by Tags

#python #trainwithnycdsa 2019 2020 Revenue 3-points agriculture air quality airbnb airline alcohol Alex Baransky algorithm alumni Alumni Interview Alumni Reviews Alumni Spotlight alumni story Alumnus ames dataset ames housing dataset apartment rent API Application artist aws bank loans beautiful soup Best Bootcamp Best Data Science 2019 Best Data Science Bootcamp Best Data Science Bootcamp 2020 Best Ranked Big Data Book Launch Book-Signing bootcamp Bootcamp Alumni Bootcamp Prep boston safety Bundles cake recipe California Cancer Research capstone car price Career Career Day citibike classic cars classpass clustering Coding Course Demo Course Report covid 19 credit credit card crime frequency crops D3.js data data analysis Data Analyst data analytics data for tripadvisor reviews data science Data Science Academy Data Science Bootcamp Data science jobs Data Science Reviews Data Scientist Data Scientist Jobs data visualization database Deep Learning Demo Day Discount disney dplyr drug data e-commerce economy employee employee burnout employer networking environment feature engineering Finance Financial Data Science fitness studio Flask flight delay gbm Get Hired ggplot2 googleVis H20 Hadoop hallmark holiday movie happiness healthcare frauds higgs boson Hiring hiring partner events Hiring Partners hotels housing housing data housing predictions housing price hy-vee Income Industry Experts Injuries Instructor Blog Instructor Interview insurance italki Job Job Placement Jobs Jon Krohn JP Morgan Chase Kaggle Kickstarter las vegas airport lasso regression Lead Data Scienctist Lead Data Scientist leaflet league linear regression Logistic Regression machine learning Maps market matplotlib Medical Research Meet the team meetup methal health miami beach movie music Napoli NBA netflix Networking neural network Neural networks New Courses NHL nlp NYC NYC Data Science nyc data science academy NYC Open Data nyc property NYCDSA NYCDSA Alumni Online Online Bootcamp Online Training Open Data painter pandas Part-time performance phoenix pollutants Portfolio Development precision measurement prediction Prework Programming public safety PwC python Python Data Analysis python machine learning python scrapy python web scraping python webscraping Python Workshop R R Data Analysis R language R Programming R Shiny r studio R Visualization R Workshop R-bloggers random forest Ranking recommendation recommendation system regression Remote remote data science bootcamp Scrapy scrapy visualization seaborn seafood type Selenium sentiment analysis sentiment classification Shiny Shiny Dashboard Spark Special Special Summer Sports statistics streaming Student Interview Student Showcase SVM Switchup Tableau teachers team team performance TensorFlow Testimonial tf-idf Top Data Science Bootcamp Top manufacturing companies Transfers tweets twitter videos visualization wallstreet wallstreetbets web scraping Weekend Course What to expect whiskey whiskeyadvocate wildfire word cloud word2vec XGBoost yelp youtube trending ZORI