A dashboard is a single screen that shows the most important information for a goal, so that it can be understood at a glance. Layout decides whether it works.

Purpose and Audience

A dashboard must serve one purpose and one audience. Operational dashboards track current activity in real time; analytical dashboards support exploration of trends; strategic dashboards show KPIs against targets for leaders. A dashboard that tries to do everything does nothing well.

Reading Order

People read in patterns: in the western world, the eye starts at the top left and moves right and down (the F pattern or Z pattern). The inverted pyramid puts the most important items first. Therefore: the title and KPI cards go along the top, the main chart below and to the left, supporting details lower, and filters in a consistent place, usually the top or the left side.

Layout Rules

  1. Fewer visuals: about five or six on a page. Each should answer a question.
  2. Group related items and separate groups with white space (proximity).
  3. Align visuals to a grid with equal margins and gaps.
  4. Keep it on one screen, without scrolling, if possible.
  5. Consistency: the same colours, fonts and number formats everywhere, the same colour for the same category on every chart.
  6. Label clearly: titles that say what is shown, units and the date of the data.
  7. Test with the five-second rule: a new viewer should grasp the main message in about five seconds.

Numbers and Context

A KPI card shows the current value with a comparison (target, last period) and an indicator of direction. A number without context cannot be judged.

Definition: Dashboard. A single-screen display of the most important charts and key figures for a goal, arranged so that the state of the business can be understood at a glance.

Table 3.3: Dashboard types

Type Purpose Update Example
Operational Monitor current activity Real time Orders in the last hour
Analytical Explore trends Daily or weekly Sales by region and product
Strategic Track goals Monthly or quarterly Revenue against yearly target

Example 3.3: Laying out four KPI cards on a grid

Problem: A dashboard canvas is 1280 pixels wide. Four KPI cards of equal width are placed in a row with a margin of 20 pixels at each side and gaps of 20 pixels between cards. Find the card width and the left position of each card.

Solution:

  1. The usable width is 1280 − 2 × 20 = 1240 pixels.
  2. There are 3 gaps of 20 pixels, so the cards share 1240 − 3 × 20 = 1180 pixels.
  3. Each card is 1180 / 4 = 295 pixels wide.
  4. The left edges are 20, 20 + 315 = 335, 650 and 965 pixels; the last card ends at 965 + 295 = 1260, leaving the 20 pixel margin.

Result: Card width 295 pixels; left positions 20, 335, 650 and 965.

width, margin, gap, n = 1280, 20, 20, 4
card = (width - 2 * margin - (n - 1) * gap) / n
lefts = [margin + i * (card + gap) for i in range(n)]
print("card width:", card)
print("left positions:", [int(x) for x in lefts])
print("right edge of last card:", lefts[-1] + card)

Output

card width: 295.0
left positions: [20, 335, 650, 965]
right edge of last card: 1260.0

Common mistakes

  • Placing too many visuals, so nothing stands out.
  • Using different colours for the same category on different charts.
  • Showing a KPI value with no target or previous period.
  • Hiding the key chart at the bottom right.

Key takeaways

  • One dashboard, one purpose, one audience.
  • Reading order: top left first; place KPIs and the main chart there.
  • About five or six visuals, aligned to a grid, with white space.
  • Use the five-second test.

Practice questions

  1. Where do viewers look first on a dashboard?
  2. How many visuals are recommended on a dashboard page?
  3. What does a KPI card need besides the value?

Answers to the practice questions

  1. The top left.
  2. About five or six.
  3. A comparison such as a target or last period.

Sources

  • Official BCA syllabus Data Visualization, course code 26BCA404DSE11, Unit III