MulaiMulai sekarang secara gratis

highlighting() charts

As you were exploring the linked scatterplot in the previous exercise, you may have noticed that once you selected a point on the scatterplot, doubling clicking did not deselect the point. In this exercise, you will explore how to use the highlight() function to correct this issue, along with it's other options.

Your linked scatterplots from the previous exercise are stored in the linked_plots object.

Latihan ini adalah bagian dari kursus

Intermediate Interactive Data Visualization with plotly in R

Lihat Kursus

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# Add a highlight layer
linked_plots %>% ___()
Edit dan Jalankan Kode