The In-Crowd

R Task

First please go ahead and down a copy of everything you’ll need to complete this week’s task

Directions

  1. Load up the flights.csv file which is a collection of the airports with the most traffic and smaller airports (given by Other) in the United States. Create a chord diagram such that the following criteria are met:

    1. Cities are colored differently by their time zone. (Eastern Time, Central Time, Mountain Time, Pacific Time, Alaskan Time, Hawaiian Time). However, color choices are left up to you

    2. The thickness of links between cities implies the relative frequency of flights between two cities (i.e. the thicker links represent more frequent flights).

    3. The links are directed, in that when the color of a link matches the outer band, it is a point of origin (departure). Consequentially this implies that when the color of a link does not match the outer band, it is a point of destination (arrival).

    4. There is a legend with the colors and corresponding time zones clearly marked.

    5. Make adjustments to the map to make it visually appealing (do.
  2. Please post both
  • a copy of your script as a .R or .Rmd file
  • the output as a pdf or png file to

#r-flights no later than October 6 at 11:59 PM.