Self-updating Dashboard with Voila and Jupyter Notebook | Kristiyan Katsarov

Self-updating Dashboard with Voila and Jupyter Notebook

By Kristiyan Katsarov
Kristiyan Katsarov
Published on November 2, 2019

What is a Jupyter Notebook?

Simply explained, jupyter notebook is an interactive environment where you can run code and view it's output directly in the web. The technology is language-independant, which means it can work with any language, but the most popular one is definitely Python.

What is Voila?

I will post a link to an article describing Voila better than me, but shortly explained, Voila allows you to create dashboards easily from Python Notebooks.

The Self-updating Dashboard

The self-updating dashboard consists of a notebook updating the plot from a separate thread using asyncio. The update is done in a while True loop, but the logic can be easily changed.

The data is gathered from an example api service (which is defined in api.py and started with gunicorn)

You can try it out:

GitHub: katsar0v/self-updating-dashboard-with-voila

68747470733a2f2f6d7962696e6465722e6f72672f62616467655f6c6f676f2e737667

If you want to learn more about Voila, you may want to read this article.

Voila GitHub repository.

Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

Strictly Necessary Cookies

Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.