treemap( flights_sata2 , index ="carrier" , vSize ="distance" , vColor ="arr_delay" , type ="manual", title ="The treemap of any Nyc flights over 6hrs delay in 1000 miles", palette ="OrRd")
#Our treemap visualization shows flights with over 6 hours of delay upon arrival, covering distances of at least 1000 miles. Each rectangle represents a flight, with its size indicating the distance traveled and its color showing the delay upon arrival. The rectangles are grouped by airline carrier. When we focus on Delta flights which is major airline operating globally, there was a significant computer failure reported by the Wall Street Journal,in 2013 , causing widespread disruptions across various airlines. For instance, passengers who had connecting flights may have missed them due to this issue. I did this visualization to know if flight delays are influenced by distance or if they are primarily dependent on the airline.