Creating multiple plots along the same row

In order to create multiple plots along the same row, let's first create three unique plots. We will be working with the S&P 500 stock data found on Kaggle (https://www.kaggle.com/camnugent/sandp500/data).

The first step is to read the data and filter it so that we only use the data related to Apple as shown here:

#Import the required packagesimport pandas as pd#Read in the datadf = pd.read_csv('all_stocks_5yr.csv')#Convert the date column into datetime data typedf['date'] = pd.to_datetime(df['date'])#Filter the data for Apple stocks onlydf_apple = df[df['Name'] == 'AAL']

Next, let's construct three unique plots using the code as shown here: 

#Import the required packagesfrom bokeh.io import output_file, ...

Get Hands-On Data Visualization with Bokeh now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.