Flask-PlotlyInteractive Web Apps and Dashboards
Web Visualization with Plotly, Flask and Ajax - FlaPjax
Why use Dash when Plotly plus Flask is easy and more flexible? Add a little bit of AJAX and you can add interactivity.
This repo contains the code for the articles listed, below.
Web Visualization with Plotly and Flask
This article explores using Flask and Plotly as an alternative to using Dash when creating Web apps. It compares a simple Dash app with a Flask/Plotly one and finds that the latter is easy and more flexible than it's Dash counterpart. You can find the code for the article in the Plotly folder.
An Interactive Web Dashboard with Plotly and Flask
This article shows how to create a truly interactive app as you might with Dash with callbacks but using Plotly and Flask and a bit of AJAX. The code for this is in plotlycallback-gm.
A slightly modified version of the code above can be found here: plotlycallback-gm2. In this version no parameters are passed to the template and the chart is always loaded using Ajax. It also has the benefit of labelling the chart!
How to Build a Stocker Tracker with Plotly and Flask
The finance library for Python gives you access to Yahoo Finance data and Plotly and Flask let you build a stunning dashboard. With a Flask back end thaat leverages the yfinance library and Plotly, and a web front end that plots a Plotly chart loaded from the server,this article shows you how to create a simple finance web app that produces impressive results.
download the zip file
To get all of the code either clone this repo orIf you have found this content useful, please consider this...
Please note that all the software in this repo is written for educational purposes and should not be considered suitable for production code