Get startedGet started for free

A basic dot plot

As shown in the video, use only geom_path() to create the basic structure of the dot plot.

This exercise is part of the course

Communicating with Data in the Tidyverse

View Course

Exercise instructions

  • Create a new ggplot object which takes ilo_data as data set.
  • Add a geom_path() geometry where the weekly working hours are mapped to the x-axis and countries to the y-axis.

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# Create the dot plot
___
Edit and Run Code