── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
✖ dplyr::filter() masks stats::filter()
✖ dplyr::lag() masks stats::lag()
ℹ Use the conflicted package (<http://conflicted.r-lib.org/>) to force all conflicts to become errors
This is a visualization of an alluvial diagram illustrating the relationship between the number of flights for various origin-destination pairs across months from the nycflights23 dataset. The y-axis represents the number of flights, while the alluvium flowing across the x-axis, which depicts months, corresponds to different origin-destination pairs. Each color in the diagram represents a unique origin-destination pair. The width of each alluvium remains constant, as the pairs are static, but their position along the y-axis reveals how the popularity of these routes changes throughout the year. It’s interesting to see how the flow of people from one place to another fluctuates seasonally, and it highlighted data that was unexpected to me. For example, I assumed the number of flights from New York to Miami would rise in the warmer months because of summer vacations, but it actually increases as it gets colder, peaking in December. This is because New York is far north and many New Yorkers seek a warm getaway in the frigid months. You can also see travel from New Jersey to Chicago peaks in August and takes a sharp decline as fall begins, with Chicago being another colder city. This suggests that travel is heavily influenced by people wanting to migrate to more comfortable temperatures and away from less comfortable ones.