Data Study on Terror Attacks

Posted on Jul 30, 2018
The skills we demoed here can be learned through taking Data Science with Machine Learning bootcamp with NYC Data Science Academy.

Understanding Terror Attacks

Data Study on Terror Attacks


Over the past few years, the Western media has given large attention to terror attacks that took place in many cities in the Western world. We all know that terror attacks, however, were not limited to a certain part of the world. Data shows as many countries have been forced to deal with terror attacks for the first time, I wanted to see whether there are any patterns that can be learned from Global Terror Attacks data set, and perhaps be utilized in order to reach new conclusions.


Are there more terror attacks today?

In the chart below, I presented the number of people who died from terror attacks throughout the world between 1985-2016, broken per relevant regions of the world. The first observation that appeared from this chart is the seriousness of the the threat that terror poses to the world today - beginning in 2012 there is a significant increase in the number of casualties, which continued to increase until 2016 to new numbers that haven't been seen in the past 30 years.

The second observations is that while most readers will be most familiar with terror attacks that have taken place in cities such as Paris, Nice, London, Manchester and Brussels, the number of people who died from terror attacks in Europe over those years was only a fraction of the people who died from terror attacks in Africa and the Middle East.

Data Study on Terror Attacks

Where exactly did the terror attacks occur?

After revealing what regions suffered most from terror attacks, I wanted to see which countries within those regions were most badly hurt. Using from only the year 2016, I created a cluster map by using exact coordinates that showed the distribution of number of terror attacks per country.

While zooming into the map, I was able to look within those regions that suffered from most casualties and reach new insights: for example, zooming into the Middle East, I noticed that Afghanistan and Iraq were the countries that had the most casualties, and that their neighbor countries - Pakistan and Syria, were also badly hurt. On the other hand, Iran did not suffer from any terror attacks during 2016.

Data Study on Terror Attacks

Is there a time of year that is most prone for terror?

Now that we know that terror attacks have become an unfortunate common occurrence, I wanted to see whether there is a time of year that security forces should be more alert. For this purpose, I prepared a chart showing the number of terror attached that occurred in each month between 2007-2016. While the results were inconclusive, the chart detected a trend of more terror attacks during the summer, while a slight decrease tends to occur towards the end of the calendar year.

Data Study on Terror Attacks

Are there cities within the U.S. that are more prone for multiple-casualtyΒ terror attacks?

Now that we know how big of a threat terror attacks are the the modern world, and when terror attacks are more likely to occur in the year, I wanted to see whether there were cities that were targeted more than others. For that purpose, I defined a "good event" as an event that had zero fatalities, and reviewed the ratio between "good events" and the total number of attacks in each terror attack. The more casualties that died in an event was represented by red colors, while "good events" were colored in blue.

The first finding was that terror attacks were more likely to happen in major cities; and the denser the population was, the number of casualties within that city was higher.




About Author

Rachel Peled

A data scientist with a master’s degree from Columbia University and a bachelor's degree from the Technion in Israel, both in Chemical Engineering.
View all posts by Rachel Peled >

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