> For the complete documentation index, see [llms.txt](https://huataihuang.gitbook.io/cloud-atlas-draft/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://huataihuang.gitbook.io/cloud-atlas-draft/develop/python/flask/dash.md).

# 基于Flask的Dashboard - Dash

> [Dash is a Python framework for building analytical web applications. No JavaScript required.](https://github.com/plotly/dash)
>
> [plotly](https://plot.ly/)是一家采用开源技术提供数据可视化平台的公司，dash是该公司开发的基于Plotly.js, React 和 Flask的包含下拉框，边栏，图形等数据分析Python代码。

[Introducing Dash: Create Reactive Web Apps in pure Python](https://medium.com/@plotlygraphs/introducing-dash-5ecf7191b503)介绍了这个开源的工具：

```bash
pip install dash
```

开发代码非常简单，可参考[Deploying Dash Apps](https://plot.ly/dash/deployment)，从相关文档来看，是目前最为完善的Python Dashboard框架。

在[plotly](https://plot.ly/)提供了详细的介绍，以及商业版本使用的价格。

> Django也有一个平台[django-dash](https://github.com/barseghyanartur/django-dash)实现类似功能，本质上都是集成D3.js。但是，比Flask平台的[Dash](https://plot.ly/dash/)完成度差距很大。

## 参考

* [Is there something similar to R Shiny for Python users in the scientific community?](https://www.quora.com/Is-there-something-similar-to-R-Shiny-for-Python-users-in-the-scientific-community)
* [Introducing Dash](https://medium.com/@plotlygraphs/introducing-dash-5ecf7191b503)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://huataihuang.gitbook.io/cloud-atlas-draft/develop/python/flask/dash.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
