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
- 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:
- 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
- The thickness of links between cities implies the relative frequency of flights between two cities (i.e. the thicker links represent more frequent flights).
- 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).
- There is a legend with the colors and corresponding time zones clearly marked.
- Make adjustments to the map to make it visually appealing (do.
- 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
- Please post both
- a copy of your script as a
.R
or.Rmd
file - the output as a
pdf
orpng
file to
#r-flights no later than October 6 at 11:59 PM.