Date Buttons on Line Charts
Learn to enhance the line charts by adding date buttons, allowing us to efficiently filter data for frequently used time periods and gain valuable insights.
We'll cover the following...
We'll cover the following...
Our data
For this lesson, let’s use some data on the stock price of Alibaba. We can print out the top few rows to see what it looks like below:
Let’s plot all of the data to ascertain the patterns in the data:
Now we could use pandas and filter the data so that we only get the range we are interested in, but it turns out that we can filter by date effortlessly using Plotly functionality. This introduces us to the next ...