Skip to content
Frontend system design · about 40 minutes

Live analytics dashboard

Design an analytics dashboard for a business product. The page has about ten widgets: number cards, line and bar charts, and a table. The user filters by date range, region and product, and every widget follows the filters. The key numbers update every few seconds. Users keep the page open for hours, often on a large screen. A view with its filters must be shareable as a link.

Ask first

  • How fresh must the data be: one second, five seconds, a minute? Is it the same for every widget?
  • How many points can one chart have: hundreds, or hundreds of thousands?
  • Do all widgets share the same filters, or do some have their own?
  • Is the layout fixed, or can users move widgets and save views?
  • Can the server push updates, or must the client ask for them?
  • Do we need export, and must the charts be usable with a screen reader?

The outline

Write your own outline for each part first.

The strong answer, the pitfalls and the follow-ups opens with a year in the app. What a year includes