# Simple interactive tooltip alt.Chart(data).mark_bar().encode( x='a', y='b', tooltip=['a', 'b'] # Add tooltips on hover ).interactive() # Allow zooming/panning Use code with caution. Copied to clipboard 6. Saving Charts
Install Altair using pip . It is highly recommended to work within a Jupyter notebook environment (JupyterLab, VS Code, Colab) for automatic rendering. altair
Learn how to (e.g., lines and points)?