Create a Python powered dashboard in under 10 minutes

Plotly graphs can be embedded in web sites to create interactive, highly customized dashboards that have many advantages over what is available with expensive, traditional BI software. Many of the world’s leading data driven companies (Netflix, Google, Siemens, and others) are using Plotly to power their dashboards.

This article shows you how to create a simple Plotly dashboard using the Dashboard Wrapper in a few simple steps.

Live Python-Powered, Plotly dashboard

Step 1: Initialize a Dashboard

Let’s start by initializing a new dashboard. To get a preview of the HTML representation of the dashboard organization, where the items in the dashboard are located with respect to one another, it is highly recommended that you use a Jupyter Notebook to run the .get_preview() method in a notebook cell. Everytime you modify your dashboard you should run this to check what the layout looks like.

grid_response

Step 2: Add Boxes

If you want to place a plot, text box or a webpage into dashboard, you need to place it in a box (which is just a dictionary) and insert it into your dashboard. A simple box has the keys type, boxType, fileId, shareKey and title. To learn about different types of boxes you can add to your dashboard, checkout the Plotly Dashboard API Doc Page.

grid_response

grid_response

grid_response

Step 3: Upload your Dashboard

python dashboard

More Resources

Want to make more complicated dashboards and websites with embedded Plotly graphs? Check out these resources. For Ubuntu and Apache in particular, there is an infinite source of free help and documentation online through Google search and forums.

Ubuntu & Apache

Official Ubuntu LAMP documentation

Another LAMP tutorial from folks at Digital Ocean

Easy Ubuntu Server set-up on AWS

ZaReason: Inexpensive source of physical servers with Ubuntu preinstalled

Website creation and styling

Bootstrap: Slick css library and examples for quickly creating great-looking sites

Plotly specific

Python Dashboard API

Embedding Plotly graphs in external websites

Plotly-Python streaming API

Python Powered dashboard

R / ggplot2 Powered dashboard

MATLAB Powered dashboard

Questions? Suggestions? Email feedback[at]plot[dot]ly, use StackOverflow, or tweet to @plotlygraphs.

Are you setting up a dashboard for your company? Consider contacting Plotly Enterprise for an on-premise Plotly instance or support services from our team.