Skip to content

com-480-data-visualization/flight-inspectors

Repository files navigation

Flight Inspectors

Flight Inspectors is a data visualization project that explores the history of plane crashes from 1908 to 2024. The project aims to provide insights into the causes and trends of plane crashes over time, as well as to raise awareness about aviation safety.

Contributors

Student's name SCIPER Department
Nicolas Karmolinski 316655 Data Science
Roméo Maignal 360568 Computer Science
Jakub Kielar 423372 Computer Science

Milestone 1

Milestone 1

Milestone 2

Milestone 2

Milestone 3

Milestone 3

Prerequisites

Run

pip install -r requirements
npm install
npm run dev

Open http://localhost:5174/ with your browser to view the website.

You can also visit the deployed version of the website hosted on GitHub Pages at https://com-480-data-visualization.github.io/flight-inspectors/.

Analysis

Datasets

The primary dataset we will be working with is a dataset of plane crashes from 1908 to 2024 found on Kaggle by Luiscé Francisco. As a complement, we will be using the airports, routes, and airlines datasets from OpenFlights, a free, high-quality and comprehensive aviation database.

Run the data analysis

The scripts only use Python's standard library. They all read from data/crashes_cleaned.csv.

Hero section stats (prints summary figures to stdout):

python3 data/hero_stats.py

Viz 1 — incidents & fatalities by manufacturer (writes public/data/crashes_by_manufacturer.json):

python3 data/viz1/script.py

Viz 2 — incidents & fatalities by airline (writes public/data/crashes_by_airline.json):

python3 data/viz2/script.py

Viz 3 — incidents & fatalities by country (writes public/data/crashes_by_country.json):

python3 data/viz3/script.py

Viz 4 — crashed flight routes geocoded against OpenFlights airports (writes public/data/crashed_routes.json):

python3 data/viz4/script.py

Viz 5 — directed chord graph of accidents between locations (writes public/data/crashed_routes.json):

python3 data/viz5/script.py

Viz 6 — custom predictive model of airplane crashes (writes public/data/crashed_routes.json):

python3 data/viz6/script.py

Note: Viz 4 and 5 are swapped on the website for more fluent logical continuation, but was kept numbered as such to maintain consistency across our working pipeline.

Run all from the project root. The six viz scripts must be run before npm run dev if the JSON files are missing. pip install -r requirements required for viz5 and viz6.

Stack

TypeScript React Vite Node.js

Releases

No releases published

Packages

 
 
 

Contributors