MulaiMulai sekarang secara gratis

Linking for group selection

Have the length and diameter of the launch vehicles changed over time? One way to answer this question is to create an animation. Another approach is to link a chart representing time to a chart displaying the length and diameter of the launch vehicles. In this exercise, you will link a bar chart representing the number of launches over the years to a scatterplot of diameter against height.

plotly, crosstalk, dplyr, and the lv data set have been loaded for you.

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.

# Create a SharedData object allowing selection by year
shared_year <- ___(___, key = ___)
Edit dan Jalankan Kode