<

Voyager

Voyager

Stat Numbers

Stat Numbers or Hero Numbers are great for highlighting important high-level numbers in a report or dashboard.

About Stat Numbers

These numbers should be paired with a label or title that explains the value. Stats are grouped into one of two categories, Main Stat and Sub Stats. A card will only have one Main Stat but may have multiple Sub Stats. Sub Stats are meant to support the Main Stat by showing relative information like changes over time or when comparing categories. When displaying a stat number in a card you may also combining with:

  • Trend Indicator, number an/or icon, showing changes over time
  • A data visual like spark lines, line chart, bar charts, progress bars
  • Time stamp
  • Supporting or explainer text
  • A link or CTA

Main Stat (and Variants)

StatLabelHere
100.00%
SupportingTextHere

Text Color

The Main Stat values can be displayed in one of three colors: gray, blue, or red. Add class qw-stat-color-favorable for favorable blue. Add qw-stat-color-unfavorable for unfavorable red.

StatLabelHere
100.00%
StatLabelHere
100.00%

Stacked Label

Add class qw-stat-stack-label to the qw-stat div to stack the number and label.

StatLabelHere
100.00%
SupportingTextHere

Sub Stat

Icon Types

Icons are optional. We currently use icons to show upward #qw-icon-graph-stats-ascend, downward #qw-icon-graph-stats-descend, or netural #qw-icon-graph-stats-flat trends.

StatLabelHere
100.00%
StatLabelHere
100.00%
StatLabelHere
100.00%

Icon Color

Icons can be display in gray, green, or red depending on their context. Add class qw-stat-icon-gray, qw-stat-icon-green, or qw-stat-icon-red to the dl tag to get the color icon.

StatLabelHere
100.00%
StatLabelHere
100.00%
StatLabelHere
100.00%
StatLabelHere
100.00%
StatLabelHere
100.00%

Icon Location

By default icons will be displayed in front of the number, however there is the ability to move the icon behind the number by adding class qw-stat-icon-behind to the dl tag.

StatLabelHere
100.00%

Example in Card

Turnover Rate

Quarter 3, 2021
2.5%
That is 25 of 1000 employees
Quarter 2, 2021
2.4%
Quarter 1, 2021
3.9%

Dos & Don'ts

Quarter 3, 2021
15.2%

Do

Do keep labels short, less than 5 words.

The Total Turnover Rate for Quarter 3, 2021
15.2%

Don't

Don't have wordy labels. If you need more text consider adding a title to the card or using the optonal suppoting text.

Quarter 3, 2021
2.5%
Quarter 2, 2021
2.4%

Do

Do display only one Main Stat per card. Use Sub Stats if you need to display multiple numbers.

Quarter 3, 2021
2.5%
Quarter 2, 2021
2.4%

Don't

Don't display multiple stats per card

Comparison
12%

Do

In Sub Stats: Do use icons that show trends over time

Comparison
12%

Don't

In Sub Stats: Don't use icons solely for visual intrest