MulaiMulai sekarang secara gratis

A basic dot plot

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

Latihan ini adalah bagian dari kursus

Communicating with Data in the Tidyverse

Lihat Kursus

Petunjuk latihan

  • 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.

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# Create the dot plot
___
Edit dan Jalankan Kode