ggplot(bradleysplot, aes(x = air_time, fill = dest)) +geom_histogram() +scale_fill_manual(values =c("LAX"="blue", "IAD"="red")) +labs( title ="Air Time for LAX & IAD Flights",x ="Air Time",y ="Distance",fill ="Destination",caption ="Source: NYC Flight 23" )
`stat_bin()` using `bins = 30`. Pick better value with `binwidth`.
Warning: Removed 299 rows containing non-finite outside the scale range
(`stat_bin()`).
• Write a brief paragraph that describes the visualization you have created and at least one aspect of the plot that you would like to highlight. The paragraph should be around 150-250 words as a good estimate.
So basically the graph I created is a histogram that shows us planes that were taking off from IAD (Washington Dulles international airport and LAX ( Los Angeles international airport) . the graph shows the times the planes that took off from these two airports and the distance they covered. The data isn’t really accurate in my option because I spend almost 3 days trying different codes just to get something that would run because I kept getting errors . till I finally decided to just copy the hate crimes code which them allowed me to run the code and the histogram showed up. I feel like if I was able to filter the work a little more I would been able to get a graph that showed us way more than this one.