O'Reilly logo

Python Business Intelligence Cookbook by Robert Dempsey

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required