import plotly.express as px df = px.data.gapminder().query("continent == 'Oceania'") fig = px.line(df, x='date', y='mbps', color='test', markers=True) fig.show()