Building a business intelligence dashboard in Flask

In this recipe, we are going to build on the previous two recipes and build a business intelligence dashboard using Flask.

How to do it…

  1. First, create a new directory for your application. For this recipe, I am going to name the directory pbic-dashboard.
  2. Next, open a terminal session and change into the directory you just created.
  3. After that, create a folder named templates.
  4. Next, create a folder named charts.
  5. Run the previous recipe to create all your charts.
  6. Next, in the root directory of your application, create an empty dashboard.py file.
  7. Now, change into the templates folder, and create a file named dashboard.html.

    You should have a directory structure that looks like the one shown in the following ...

Get Python Business Intelligence Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.