CommencerCommencer gratuitement

A basic dot plot

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

Cet exercice fait partie du cours

Communicating with Data in the Tidyverse

Afficher le cours

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.

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

# Create the dot plot
___
Modifier et exécuter le code