# A dashboard product, built from scratch

> Off the shelf tools could not carry the brand or the workflow. We designed and built a full stack dashboard: its own charts, its own editor, live data and access for each client, in a product that feels like theirs.

Project on Variable Frog. Page: https://variablefrog.com/work/custom-dashboard

- Client: An analytics company
- Industry: Software
- Service: Lab
- Stack: React, TypeScript, Firebase, BigQuery
- What we built: A full stack dashboard product
- Outcome: 47% more weekly active users
- Headline number: +47% weekly active users

## In short

- The problem: Embedded BI could not carry the brand, be edited by clients, or keep one client's data apart from another's.
- What we built: A full stack dashboard: a design system, 24 chart and card types, a drag and resize editor and access per client.
- The result: 47% more weekly active users than accounts on the old tool, and a first chart on screen in under a second.

Chart: People active each week, per account: accounts on the new dashboard against accounts on the old tool.

Weekly active people per account over 10 weeks: accounts on the new dashboard rise from 8.4 to 12.4 while accounts on the old tool stay near 8.4.

### At a glance

- Challenge: **3** Reporting tools tried and outgrown. None could carry the brand, be edited by clients, or cleanly keep one client's data from another's.
- Approach: **24** Chart and card types, designed and coded as one system: drag to place, resize on a grid, edit in one side panel.
- Result: **+47%** Weekly active users against accounts still on the old tool. First chart on screen in under a second.

An analytics company sold insight and delivered it inside someone else's product. Their dashboards lived in an embedded BI tool: its fonts, its loading spinner, its idea of what a chart looks like. Clients could look but not change anything, so every small request came back as a ticket.

## The problem

A reporting tool is built for analysts. A product is built for the person who opens it on a Monday with one question. The gap showed in the numbers: most clients opened their dashboard on the day the monthly email arrived and not again (Before the rebuild, 58% of all sessions fell in the two days after the monthly email.).

Underneath sat a harder problem. Each client's data has to be invisible to every other client, and in the old setup that rule lived in dashboard filters. A filter is a setting, and settings get changed by accident.

## What we built

A dashboard product of their own, from the database rules to the chart tooltips. Every chart is drawn by one engine from one data contract, every screen is assembled from one library of parts, and everything a client can change sits in the same panel, so there is one place to learn.

### The product, from data to screen

A warehouse, live sources and accounts feed a product made of a design system, a dashboard editor and a chart engine, used through client workspaces, sharing and alerts.

- Data: Warehouse (Modelled tables for each workspace, served through a thin API with caching, so a chart asks for exactly what it draws.); Live sources (Connectors for ad platforms, analytics and spreadsheets, refreshed on a schedule the client can see.); Accounts (Sign in, roles and workspaces. Who sees which client is enforced in the database's own rules, and tested.)
- The product: Design system (Tokens, components and charts in one library, so a new screen is assembled, not designed from zero.); Dashboard editor (Cards on a twelve column grid. Drag to move, pull a grip to resize, and every setting in one side panel.); Chart engine (Line, bar, pie, funnel, map, table and scorecard, drawn in SVG from one data contract, in light and dark.)
- In use: Client workspaces (Each client signs in to their own dashboards, in the company's brand, and edits them.); Sharing and export (A link, a scheduled email or a file. The report goes where the client already works.); Alerts (A number crosses a line the client set, and they hear about it the same morning.)

We moved half the accounts first, chosen at random, and left the rest on the old tool for ten weeks. Same data, same clients, different product.

## The result

Accounts on the new dashboard had 47% more people active each week, and they came back between the monthly emails. Setting up a new client's first dashboard went from a week of configuration to an afternoon, because a dashboard is now a template and a data source, not a project.

The security rule moved to where it belongs. A set of automated tests signs in as one client and tries to read another's data, on every release. It has never succeeded.

## What they own now

### Theirs to keep

All of it is their code in their repository, on their cloud. No licence sits between them and their own product.

- **The codebase**: Front end, API and rules, typed and tested.
- **The design system**: Every component and token, with its documentation.
- **The chart library**: 24 chart and card types on one data contract.
- **The security tests**: One client can never read another's data. Proven on every release.
- **The handbook**: How to add a chart, a source or a client.

### How it was measured

Active users are the people who opened a dashboard at least once in a week, per account. Half the accounts moved to the new dashboard first, chosen at random, and half stayed on the old tool for ten weeks.

- Accounts: Half moved first, at random
- Period: 10 weeks
- Measure: Weekly active people per account
- Speed: First chart in under 1 second, at the median

