Build interactive dashboards in Jupyter notebooks to explore data with hover tooltips and zoom controls.
Create standalone HTML chart files that you can share via email or embed in websites without needing a server.
Generate scientific and financial visualizations with 3D plots, statistical charts, and geographic maps.
Build data dashboard applications using Dash that let users interact with charts to filter and explore datasets.
plotly.py is a Python library for creating interactive charts and graphs that run in a web browser. Rather than producing static image files, the charts respond to mouse interactions, you can hover to see values, zoom in, pan, and toggle data series on and off. The library is built on top of plotly.js and provides a high-level, declarative interface, meaning you describe what you want the chart to look like rather than writing low-level drawing code. It comes with over 30 chart types including scientific plots, 3D graphs, statistical charts, geographic maps, financial charts, and more. Charts can be displayed inside Jupyter notebooks (interactive coding environments), saved as standalone HTML files, or embedded inside Dash applications (a framework for building data dashboards in Python). Installation is straightforward: pip install plotly. For use as a Jupyter widget, the anywidget package is also needed. For saving charts as static image files (PNG, SVG, etc.) rather than interactive HTML, the kaleido package provides that capability. Extended geographic features like county-level map overlays require a separate plotly-geo package. The library is MIT-licensed and maintained by Plotly, Inc.
Generated 2026-05-18 · Model: sonnet-4-6 · Verify against the repo before relying on details.