This repository contains an interactive web map that visualizes the locations and human cost of drone strikes in Pakistan, Yemen, Somalia, and Afghanistan from 2004 to 2020. The data is sourced from the Bureau of Investigative Journalism's Drone Warfare project (now Airwars).
The project uses Leaflet, a JavaScript library for interactive maps, and D3.js for data processing and visualization.
- Interactive map with administrative boundaries
- Zoom and pan functionality
- Table with summary statistics for each region
- Popups displaying detailed information about each region
- Breadcrumbs navigation for drilling down into the data
- A modern web browser such as Google Chrome, Mozilla Firefox, Microsoft Edge, or Safari
-
Clone the repository or download the source code as a ZIP file:
git clone https://github.com/j0nathanb/drone_warfare.git
-
Navigate to the project folder:
cd drone_warfare
-
Open the
index.html
file in your web browser. -
You can also just view it on https://j0nathanb.github.io/drone_warfare
- Click on a shaded region to view the breakdown of drone strikes and casualties for that area.
- Use the breadcrumbs navigation to move back up the hierarchy of administrative divisions.
- Hover over a region to see a popup with the region's name and the number of strikes.
- Interact with the table to view summary statistics for each region.
- Drone strike data: Bureau of Investigative Journalism's Drone Warfare project (now Airwars)
- Administrative boundaries: geoBoundaries
- Toponymic information: Geographic Names Database
This project is licensed under the GNU General Public License. See the LICENSE
file for more details.
- The
data
folder contains the raw data used for this project - The
data/cleanup/
folder shows the steps I took to clean the data prior to mapping it
- Leaflet for providing a powerful and easy-to-use library for interactive maps
- geoBoundaries for providing accurate and up-to-date administrative boundary data
- Geographic Names Database for providing toponymic information
- Bootstrap for providing a responsive and modern design framework