Lesson 40 of 60
pythonInteractive Visualizations with Plotly
20 minutes
Course progress67%
Interactive Plots with Plotly
Plotly enables hover tooltips, zoom, and export to HTML.
Installing Plotly
pip install plotly
Simple interactive line chart
import plotly.express as px
import pandas as pd
time = pd.date_range('2024-01-01', periods=, freq=)
values = np.random.randn().cumsum()
fig = px.line(x=time, y=values, title=)
fig.show()