In this Plotly tutorial, you will learn how to plot time series data in Python.
# Import Plotly Module
import plotly.express as px
# Import Dataset
dataset = px.data.gapminder().query("continent=='Oceania'")
# Time Series
plot = px.line(dataset, x="year", y="pop", color="country")
# Show the Plot
plot.show()Output:



