A basic dot plot
As shown in the video, use only geom_path()
to create the basic structure of the dot plot.
Este exercício faz parte do curso
Communicating with Data in the Tidyverse
Instruções do exercício
- 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.
Exercício interativo prático
Experimente este exercício completando este código de exemplo.
# Create the dot plot
___