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 summetric with a Decision overlay that marks each time the "Send discount code" action fired - A chart for the
Total purchased valuemetric showing purchase value per item over 30-minute windows
Before you start
To follow this tutorial, confirm you have:
- The active "Game engagement experiment" Business Object with the
Message sumandTotal purchased valuemetrics from Create a Business Object. - The "Send discount code" Decision from Create a Decision.
- Access to Illuminate in the Admin Portal.
For a full explanation of chart settings and the Decision activity overlay, see Dashboards.
Create the Dashboard
- In the Admin Portal, go to Illuminate > Dashboards.
- Click Create Dashboard.
- Enter
Game engagement experimentin the Dashboard name field. Add an optional description. - Click Save.
The Dashboard is saved and its empty view opens. You can now add charts.
Add Chart 1: Message sum
- From the Dashboard view, click Add Chart. The chart configuration modal opens.
- Click Select Business Object and choose
Game engagement experiment. - Choose the
Message summetric. The chart auto-populates with the metric configuration. - 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. - Click Add.
The chart is saved with the name Message sum, generated from the metric name.
Add Chart 2: total purchased value
- Click Add Chart.
- Click Select Business Object and choose
Game engagement experiment. - Choose the
Total purchased valuemetric. The chart auto-populates. - 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.