Get startedGet started for free

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.

This exercise is part of the course

Intermediate Interactive Data Visualization with plotly in R

View Course

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# Create a row of subplots containing p97, p07, and p17
___(___, ___, ___)
Edit and Run Code