Prerequisite:
dashrequires Python v3.8 or later
In your terminal, install dash.
pip install dash
If you are not using Dash Enterprise, we recommend installing dash along with the Plotly Cloud extension. Using the extension, you can publish an app running on your workstation directly to Plotly Cloud from the app. Install dash with the Plotly Cloud extension:
pip install "dash[cloud]"
These docs are running dash version 3.3.0.
You can check your version of dash with:
pip show dash
And upgrade with:
pip install dash --upgrade
When you install dash, Plotly’s graphing library, plotly is also installed. plotly.express, the high-level entrypoint to the plotly graphing library, requires a supported dataframe library to be installed. We recommend installing Pandas to follow along with examples in the documentation.
pip install pandas
For details on support for other dataframe libraries in plotly.express, see Supported DataFrame Types.
Ready? Now, let’s see an example of a minimal Dash app