Search⌘ K
AI Features

Solution: Plotting the Data

Explore how to visualize stock price data during a recession by creating bar plots for max and min prices, line plots to track changes over time, and subplots to compare oil prices with US oil fund stocks using Python's Matplotlib. This lesson helps you understand essential plotting techniques for effective financial data analysis.

Task 1: Creating a bar plot

Recreate the bar plots below for the max and min stock prices that took the biggest hit during the recession. Use the same dataset and codes from the previous practice exercise.

Hint: Use subplots() and pass ncols = 2.

You can use the max_stock and ...