Chapter 4

It colours only when it really moved

Most days, a number wiggles. Dashbox colours a card only when it did more than that.

Three days, three outcomesThree panels from the example month. Day 6: 24 lies above both orange average lines, and the panel is green. Day 16: 26 lies between the 7-day average 27.3 and the 30-day average 22.6, and the panel has no colour. Day 21: 22 lies below both averages, 28.1 and 23.7, and the panel is rose.Day 630d7d24greenDay 1630d7d26no colourDay 2130d7d22rose
Yesterday (the dot) against its two normals (the orange lines). Above both: green. Between them: no colour. Below both: rose. Each panel is drawn to its own scale.

Only when yesterday is above both averages, or below both, does the card colour: green or rose. There is no percentage to tune; the two normals agreeing is the whole rule.

A day can beat last week and still be under the month, or the reverse. Then the two normals disagree, and the card stays uncoloured.

The colour tells you the side, not the size - the numbers next to it do that.

Which side is good is a setting on the card, its direction. Higher is good for sign-ups or sales; lower is good for a cost or an error rate; a neutral card never colours.

In the example month

An example, not real data.

Day 6
24, above both averages (21.4 and 21.1): green.
Day 16
26: below the campaign week (27.3) but above the month (22.6). The normals disagree: no colour.
Day 21
22, below both averages (28.1 and 23.7): rose. An ordinary day looks bad after a campaign; chapter 8 shows how the card keeps the reason.
Day 25
21: above the week, which two bad days pulled down to 18.3, but below the month (22.7). No colour.