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.
Diese Übung ist Teil des Kurses
Intermediate Interactive Data Visualization with plotly in R
Interaktive Übung
Versuche dich an dieser Übung, indem du diesen Beispielcode vervollständigst.
# Create a row of subplots containing p97, p07, and p17
___(___, ___, ___)