Home

Awesome

dj-plotly-dash

CircleCI PyPI PyPI - Python Version framework - Django PyPI - Django Version PyPI - License

Dash is a Python framework for building analytical web applications. No JavaScript required.

It's fork of Plotly Dash.

Here’s a example of view of Django Dash App (original example with Flask) that ties a Dropdown to a D3.js Plotly Graph. As the user selects a value in the Dropdown, the application code dynamically exports data from Google Finance into a Pandas DataFrame.

Sample Dash App

Dash app code is declarative and reactive, which makes it easy to build complex apps that contain many interactive elements. Here’s an example (original example with Flask) with 5 inputs, 3 outputs, and cross filtering. This app was composed in just 160 lines of code, all of which were Python.

crossfiltering dash app

Dash uses Plotly.js for charting. Over 35 chart types are supported, including maps.

Dash isn't just for dashboards. You have full control over the look and feel of your applications. Here's a Dash app that's styled to look like a PDF report.

To learn more about Dash, read the extensive announcement letter or jump in with the user guide.

Usage

See examples of usage in tests/django_project

Installation

$ pip install dj-plotly-dash[all]
$ pip install "dash_core_components>=0.40.2" --no-deps
$ pip install "dash_html_components>=0.14.0" --no-deps

Documentation

View the Dash User Guide. It's chock-full of examples, pro tips, and guiding principles.

License

MIT