/globalTerrorismVisualization

This repository hosts the semester project for the Data Visualization at Aarhus University, 2021.

Primary LanguageJupyter Notebook

Global terrorism database visualization

This repository holds the semester project for the Data Visualization at Aarhus University, 2021.

Goal

Make an interactive visualization of the dataset.

Tools

  • Database: Global Terrorism Database maintained by researchers at the National Consortium for the Study of Terrorism and Responses to Terrorism (START), headquartered at the University of Maryland.
  • Python Plotly Dash

To start

  1. Download dataset from https://start.umd.edu/gtd/. You need to create an individual account.
    Alternatively, download dataset from the link I provided you (in Notion).
  2. Save the dataset in /project_directory/dataset/.
  3. Create an empty file called .mapbox_token and add your public mapbox token there.
  4. Activate whatever python environment you're using.
  5. Run pip install -r requirements.txt or pip3 install -r requirements.txt.
  6. Create database file by running python process_csv_to_sqlite.py or python3 process_csv_to_sqlite.py.
  7. Run jupyter lab.
  8. Explore the data.