Analytics: New Visualizations in Report Builder (Fall '20 Release)

We’ve added additional chart visualization options to Report Builder and Dashboards that enhance your analytics capabilities with new ways to view and compare your data. New visualizations include Hero Line Charts and Leaderboard Icons. Both are currently only available in Config as Code via the Admin Console. Stay tuned for the release in the Platform!

To learn more about the Admin Console, check out the Solution Templates and the Admin Console track.

Hero Numbers

Hero numbers are the large numbers at the top of the dashboard that highlight your account’s most important metrics. Hero numbers for selected metrics or metrics that have been split out by dimension display the total values as well as the period over period percentage change (if enough data is available). Each hero number corresponds to a metric (of the same color) within the chart, which you can also use to toggle lines on or off by clicking the hero number. This makes it easy for you to view trends for one or all of your metrics at once.

There are two ways to add hero numbers to your line charts.

Create a line chart insight in the platform then go to CaC and update the display section of the insight to the below:

"display": {
    "line": {
      "heroNumbers": {
        "show": true
      }
    }
  }

The entire insight would then look like the below. You can also create the entire insight in CaC using the below code.

{
  "$id": "hero_line_chart_test",
  "$schema": "https://schema.yext.com/config/analytics/insight/v1",
  "name": "Answers Overview",
  "description": "Test Description",
  "query": {
    "metrics": [
      "yext/ANSWERS_SEARCHES",
      "yext/ANSWERS_SEARCHES_WITH_KG_RESULTS",
      "yext/ANSWERS_CLICKS",
      "yext/CONVERSION_VALUE"
    ],
    "dimensions": [
      "yext/DAYS"
    ]
  },
  "display": {
    "line": {
      "heroNumbers": {
        "show": true
      }
    }
  }
}

Leaderboard Icons

To help you easily differentiate between multiple insight tables in a dashboard, we’ve added the option to select a header icon to table insights. When adding an insight to a dashboard, you can choose from a preset library of icons.

To leaderboard icons to an existing dashboard, modify the icon property in the insights object, as below:

{
  "$id": "answers-one-pager",
  "$schema": "https://schema.yext.com/config/analytics/dashboard/v1",
  "name": "Answers One Pager",
  "insights": [
    {
      "insight": "hero_line_chart_test",
      "x": 0,
      "y": 0,
      "width": 6,
      "height": 2
    },
    {
      "insight": "Top_Search_Terms21959",
      "x": 0,
      "y": 2,
      "width": 2,
      "height": 3
    },
    {
      "insight": "Cost_Savings",
      "x": 2,
      "y": 2,
      "width": 2,
      "height": 3,
      "icon": "yext/piggy-bank"
    },
    {
      "insight": "Rev_Gen_Old21906",
      "x": 4,
      "y": 2,
      "width": 2,
      "height": 3,
      "icon": "yext/vehicle-rocketship"
    }
  ]
}