View on GitHub

Data Viz with Flask and Plotly

Interactive 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.

If you find this content useful, please consider this…

Buy Me a Coffee at ko-fi.com


Flapjax

An approach to Data visualisation with Flask, Python and Plotly

This new(er) repo is a development from the one your are looking now. It attempts to develop an approach to using Flask and Plotly and supports the tutorials that will be linked there in the future.

Flapjax


Web Visualization with Plotly and Flask

[Article] [Code]

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

[Article] [Code]

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 Stock Tracker with Plotly and Flask

[Article] [Code]

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.


To get all of the code either clone this repo or download the zip file


If you have found this content useful, please consider this…

Buy Me a Coffee at ko-fi.com

Please note that all the software in this repo is written for educational purposes and should not be considered suitable for production code