Plotly
What is Plotly?
Plotly (plotly.py) is an interactive, open-source, browser-based Python graphing library powered by plotly.js. It ships with 30+ chart types, including 3D, statistical, financial, and SVG map charts. Plotly Inc., the company behind it, is headquartered in Montreal.
Why Plotly matters
Plotly and its companion framework, Dash, close the gap between exploratory analysis and a shareable, interactive result: a data scientist can go from a notebook chart to a browser-based app without switching languages or handing the visualization off to a front-end team. Dash ties standard UI elements like dropdowns and sliders directly to Python code, and its enterprise tier adds scalable hosting for when that app needs to serve more than one person.
Comparing Plotly to other visualization libraries
Matplotlib, Seaborn, Plotly, and Bokeh all solve visualization, but they trade off interactivity against simplicity differently.
Library
Best for
Plotly
Interactive charts and dashboards
Matplotlib
Static, publication-quality charts
Seaborn
Statistical graphics built on Matplotlib
Bokeh
Interactive charts for web apps
Plotly and Jupyter Notebook pair well for exploratory work, since charts stay interactive inline as you iterate, then carry over into a Dash app without rebuilding them.
How to publish a Dash app in Domino
- Configure a Domino compute environment with the dependencies a Dash app needs.
- Create a project and set it up for app publishing.
- Publish the app to the Domino launchpad.
- Other Domino users can now open and use the app directly.
Full steps: Publishing a Dash app in Domino.
FAQ
What is Plotly used for?
Building interactive charts and dashboards in Python, ranging from quick exploratory plots to production-grade web apps via Dash.
Is Plotly free to use?
The core plotly.py library and Dash framework are open source. Plotly Inc. also sells an enterprise tier of Dash with additional hosting and deployment features.
What's the difference between Plotly and Dash?
Plotly (plotly.py) is the charting library; Dash is the application framework built on top of it that turns those charts into interactive, browser-based apps with UI controls.
What is Plotly Express?
A high-level interface within plotly.py for building common chart types in a single line of code, trading some customization for speed.
Does Plotly work with Pandas?
Yes, plotly.py accepts Pandas DataFrames directly, so you can pass a dataframe's columns straight into a chart without reshaping the data first.