1. Learn
  2. /
  3. Courses
  4. /
  5. Intermediate Data Visualization with ggplot2

Connected

Exercise

Heat map alternatives

There are several alternatives to heat maps. The best choice really depends on the data and the story you want to tell with this data. If there is a time component, the most obvious choice is a line plot.

Instructions 1/2

undefined XP
    1
    2
  • Using barley, plot yield versus year, colored and grouped by variety.
  • Add a line layer.
  • Facet, wrapping by site, with 1 row.