Exercise

Change the viewport so labels don't overlap with plot border

Use a function introduced in the previous video to change the viewport of the plotting area. Also apply your custom theme.

Instructions

100 XP
  • Fix the label overlap problem by resetting the x-limits of the cartesian coordinate system to 25 and 41. Make sure to use a function that doesn't clip the geometries in your plot.
  • Remember your custom theme_ilo() function? Apply it to the plot.