MulaiMulai sekarang secara gratis

Arranging views with bscols()

The bscols() function provides a flexible framework to combine HTML widgets, like plotly charts, using the Bootstrap column layout. Recall that in this system, there are 12 columns to distribute content over. Before adding different selectors, it's important to understand how to arrange content created using bscols().

plotly and crosstalk have been loaded for you, and the object p97, p07, and p17 are scatterplots of HPI against the percentage of homeowners in each state for the years 1997, 2007, and 2017, respectively.

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 row of subplots containing p97, p07, and p17
___(___, ___, ___)
Edit dan Jalankan Kode