Data Visualization for flight delays


I have used the flights data available in the nycflights13 library to represent how the arrival delay varies in accordance with the departure delay.

We can see in the charts that as the departure delay increases the arrival delay also increases.

The data has been visualizd for every carrier.

The carrier with code “OO”, “HA” and “AS” has comparatve less delays.



## -- Attaching packages --------------------------------------- tidyverse 1.3.1 --
## v ggplot2 3.3.5     v purrr   0.3.4
## v tibble  3.1.5     v dplyr   1.0.7
## v tidyr   1.1.4     v stringr 1.4.0
## v readr   2.0.2     v forcats 0.5.1
## -- Conflicts ------------------------------------------ tidyverse_conflicts() --
## x dplyr::filter() masks stats::filter()
## x dplyr::lag()    masks stats::lag()
## `geom_smooth()` using method = 'gam' and formula 'y ~ s(x, bs = "cs")'