Very often data is conveyed to the public or shared with other researchers in the form of graphs. In the case of large datasets there is often many ways to visualize the data, which ultimately depend on the end-user interests or preferences. Plotly Dash is very handy for building data visualization apps with custom user interfaces in pure Python. Since Dash apps are viewed in the web browser, Dash is inherently cross-platform and mobile ready. The apps can be deployed locally or to servers. We will build a simple Dash app together.
- python 3.6 or higher
- Clone the repository locally
2a. Conda users, run
conda env create --file=environment.yml
(it will automatically install the requirements) 2b. Setup a virtual environment. 3b. Install the dependenciespip install -r requirements.txt
- run the app locally with
python app.py
, you can visualize it in your browser underhttp://127.0.0.1:8050
-
Dash User Guide contains the description of all dash components (core, html, datatable, daq) as well of examples and tutorials on how to use the Plotly dash functionalities
-
App example gallery help you forsee what you can do with Plotly dash
- in a python terminal type
help(dash_core_components.<name of your component>
to get the description of the component as well as its properties (you need toimport dash_core_components
beforehand)