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.
| Student's name | SCIPER | Department |
|---|---|---|
| Nicolas Karmolinski | 316655 | Data Science |
| Roméo Maignal | 360568 | Computer Science |
| Jakub Kielar | 423372 | Computer Science |
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/.
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.
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.pyViz 1 — incidents & fatalities by manufacturer (writes public/data/crashes_by_manufacturer.json):
python3 data/viz1/script.pyViz 2 — incidents & fatalities by airline (writes public/data/crashes_by_airline.json):
python3 data/viz2/script.pyViz 3 — incidents & fatalities by country (writes public/data/crashes_by_country.json):
python3 data/viz3/script.pyViz 4 — crashed flight routes geocoded against OpenFlights airports (writes public/data/crashed_routes.json):
python3 data/viz4/script.pyViz 5 — directed chord graph of accidents between locations (writes public/data/crashed_routes.json):
python3 data/viz5/script.pyViz 6 — custom predictive model of airplane crashes (writes public/data/crashed_routes.json):
python3 data/viz6/script.pyNote: 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.
- Scripting language: TypeScript
- UI/UX framework: React
- Build tool & development server: Vite
- Runtime environment: Node.js
- Package manager: NPM
- Data visualization library: D3
- Hosting service: GitHub Pages