With thousands of departures recorded, the NYC Flights dataset can provides a powerful foundation for analyzing flight delays, airline performance, seasonal patterns, and operational efficiency across major carriers. ## Install package (“NYC Flights23”, dataset)
library(nycflights23)library(tidyverse)
── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ──
✔ dplyr 1.1.4 ✔ readr 2.1.5
✔ forcats 1.0.0 ✔ stringr 1.5.1
✔ ggplot2 3.5.2 ✔ tibble 3.2.1
✔ lubridate 1.9.4 ✔ tidyr 1.3.1
✔ purrr 1.0.4
── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
✖ dplyr::filter() masks stats::filter()
✖ dplyr::lag() masks stats::lag()
ℹ Use the conflicted package (<http://conflicted.r-lib.org/>) to force all conflicts to become errors
ggplot(flights_nona) +geom_col(mapping =aes(x = carrier, y = dep_time, fill = carrier)) +labs(x ="Carrier", y ="Departure Time", title ="Departure Times by Carrier", caption ="Source: FAA Aircraft Registry")
What the graph shows
The visualization presents departure times by airline carriers, using a bar chart to compare how each carrier’s departures were distributed in 2023. The bars are color-coded for easy identification of carriers. One interesting aspect to highlight is how departure times may show noticeable clustering or disparities between carriers which could indicate patterns in scheduling, delays, or operational efficiency.