Create a Dashboard

In this tutorial, you will create a Dashboard in PubNub Illuminate, add two charts that visualize metrics from the "Game engagement experiment" Business Object, and connect the "Send discount code" Decision to one chart to see when actions triggered.

What you will build​

By the end of this tutorial, you will have a Dashboard called "Game engagement experiment" with two charts:

  • A chart for the Message sum metric with a Decision overlay that marks each time the "Send discount code" action fired
  • A chart for the Total purchased value metric showing purchase value per item over 30-minute windows

Before you start​

To follow this tutorial, confirm you have:

For a full explanation of chart settings and the Decision activity overlay, see Dashboards.

Create the Dashboard​

  1. In the Admin Portal, go to Illuminate > Dashboards.
  2. Click Create Dashboard.
  3. Enter Game engagement experiment in the Dashboard name field. Add an optional description.
  4. Click Save.

The Dashboard is saved and its empty view opens. You can now add charts.

Add Chart 1: Message sum​

  1. From the Dashboard view, click Add Chart. The chart configuration modal opens.
  2. Click Select Business Object and choose Game engagement experiment.
  3. Choose the Message sum metric. The chart auto-populates with the metric configuration.
  4. Click Manage next to the Decisions section and select Send discount code. This connects the Decision to the chart so the overlay marks when the action fired.
  5. Click Add.

The chart is saved with the name Message sum, generated from the metric name.

Add Chart 2: total purchased value​

  1. Click Add Chart.
  2. Click Select Business Object and choose Game engagement experiment.
  3. Choose the Total purchased value metric. The chart auto-populates.
  4. Click Add.

The second chart is saved with the name Total purchased value.

What you built​

You created the "Game engagement experiment" Dashboard with two charts. The Message sum chart visualizes total chat messages per guild and marks when the "Send discount code" action fired. The Total purchased value chart visualizes purchase value per item. As messages arrive and Illuminate evaluates the Decision, data appears in both charts. You can adjust each chart's time range, chart type, and width, or export chart data as a CSV from the Dashboard view. See Dashboards for available settings.

Was this page useful?

Last updated on