Eloverblik

Dokumentation · Design

Design direction

Task A2, written 15 November 2026. The notation manual (notation-manual.md) fixes what marks and colours mean. This document fixes everything else: the idea, the type, the tokens, the grid, the composition of the three page levels, motion, interaction, states, widths and accessibility. The prototype in prototype/ shows it.


1. The idea

Only meaning has colour. The interface is ink on paper: no brand colour, no tinted panels, no frames. The notation allows three hues and gives each one meaning, so the design gives the whole page to them: a page on which nothing changed is grey, and on a page where something did, the green and the red are the first things seen. The character comes from three things the notation leaves free. Type: one family with a width axis, set large and plain for the message a page opens with, and narrow with tabular figures wherever a number stands, so the figures look like the register of a meter. Density: charts are drawn to the edge of their column, every line on the page is an axis or a table rule, and space, not boxes, separates things. **Motion that explains**: figures roll like a meter's counter when the accounting method changes, last year's column becomes this year's, a site opens into its metering points on the scale it already had.

The subject supplied the vocabulary: the meter and its counter, the hour and the day, the grid's own distinction between what is measured, what is estimated and what is still to come.

What was rejected, and why: a product colour (it would be the fourth hue, and the only one without a meaning); a dark "control room" look as the default (it reads as monitoring, and the owner's readers print and forward these pages); framed cards (section 13 of the manual); a display typeface for the message (the notation's rule against decorative type is right: the message is a sentence to be read, not a headline to be admired).


2. Typography

One family: Archivo (Omnibus-Type; SIL Open Font License 1.1, free to ship and to subset). A grotesque with two variable axes, weight 100–900 and width 62–125 %. It was chosen for four properties, checked in the font file: tabular figures (tnum), the glyphs the notation needs (Δ, −, ₂, æ ø å, …), a true narrow width, and plain, upright forms without ornament. The prototype ships a Latin subset of 88 KB as one file (prototype/fonts/, with the licence). Fallback: system-ui.

The width axis does a job. A label must stand horizontally above a column that may be 20 px wide, and a table must hold six columns on a phone. Narrow type makes both possible without shrinking it below 12 px.

RoleSize / lineWeightWidthNotes
Message35 / 41 px at 1280, fluid down to 23 / 27 px56088 %Sentence case, at most 31 em wide, cited numbers underlined in the highlight blue
Card figure23 px at every width / 1.1 (B20, the compact card; it was 46, 40 and 36)56072 %Tabular; the unit beside it at 14 px, weight 500; it stands to the right of the label and of what narrows it, not above them
Title lines, body, controls14 / 20 px400; the measure and chosen controls 65096 %
Subtitle of a visual14 / 19 px65096 %
Table13 / 18 px400; header 650; totals 70090 %Tabular
Chart labels12 px450; totals and open rows 70082 %Tabular; never below 12 px
Card variances13 / 19 px40088 %Tabular
Caveats, notes, key12.5–13 / 17 px40096 %Secondary text colour

Scale: 12 · 13 · 14 · 23–35 · 46. The gap between 14 and the message is deliberate: a page has reading text, labels, and one sentence that matters.

X1 in a style that fits its first screen (O1f, O1g; the owner's yes of 29 November 2026 for the one-screen Overblik): the message is set by the style's fitted tokens (message.fitWidth, type.message.fitSize). In Analytisk that is **25 px at 1 440 (fluid from 20 px, clamp(20px, 1.75vw, 25px)), line 1.172, weight 560, width 88 %, at the page's width**: about 132 characters a line at 1 440, twice the 31 em above. Why: at 35 px in 31 em the message took four lines (164 px), and the first screen at 1 440 × 900 has 4–5 px of slack; a narrower measure takes a third line (about +29 px) that it does not have. It is the cost of the one screen, and it stays until the owner rules on a cap (asked). Every other page, and a page that does not fit, keeps the row above.

Numerals are lining and tabular everywhere a number can stand above or below another. Bold is semantic only (manual §7). No italics, no capitals for labels, no letter-spacing except −0.008 em on the message.


3. Colour tokens

The semantic colours are the manual's. Everything else is neutral. Names are those of prototype/style.css.

TokenLightDarkUse
--page#FFFFFF#17181AThe one ground. There is no second surface
--text#000000#F2F2F2Text, labels, focus outline, tooltip edge. 21:1 / 15.9:1
--text-2#595959#B0B0B0Secondary text, units, legends. 7.0:1 / 8.2:1
--assist#F1F1F1#26282BHover band, selected row, empty band of an absent value
--rule#000000#F2F2F2Table header and total rules
--rule-2#BFBFBF#55585CThe two rules of the filter row, the hairline above cards, day boundaries
--total#F2F2F2#232527Ground of a totals row
--grid#E2E2E2#303236Value grid where marks have no labels
--ac#404040#DCDCDCActual: solid fill, hatch stripes, outlines. 10.4:1 / 13.0:1
--py#A6A6A6#747474Earlier measured values and their variance axes. 2.4:1 / 3.8:1 against the page, 4.3:1 / 3.4:1 against AC
--axis#404040#BFBFBFCategory axes
--good#2BA84A#7BC043A change for the better. 3.1:1 / 8.0:1
--bad#B81414#E5484DA change for the worse. 6.7:1 / 4.5:1
--neutral, --highlight#1F6FD1#5B9BFFA change that is neither; the ring. 4.9:1 / 6.4:1
--scale-band#DCE8FA#22324EThe band that marks a deviating scale (manual §5). Not needed in the prototype: no page deviates
--heat-0 … --heat-6#E9E9E9 #D2D2D2 #B4B4B4 #929292 #6E6E6E #484848 #1E1E1E#26282B #3A3D41 #54585C #72767B #94989C #BBBEC1 #EDEDEDHeat map ramp, low to high

Checks made (palette validator of the visualisation guidance, 15 November 2026):

The light theme is the default of every style, whatever the system setting says (S7, the owner's ruling of 30 November 2026); the theme can be switched in the top bar, and the choice is remembered on the device as a convenience. A first visit wears Varm skifer, in its light theme; a saved style and a saved theme win.


4. Grid and density

1280 px and widerBelow 1100 pxBelow 760 px (phone)
Page margin24 px24 px16 px
Columns12, gutter 40 px12, every cell full width1
Vertical gaps34 px between cells, 26 px around the card rowsame30 px
Content widthup to 1440 px, then centred
Cards4 in a row4 in a row1 in a row (B20: the compact card needs its variance lines whole, which two cards of 171 px do not hold)
Method switchChoices side by sideA listA list

Density rules:

  1. A chart fills its cell. Its width is the cell's width; its height follows from the page scale and the number of rows, not from a fixed frame. 2. No boxes. Cells are separated by the gutter. The only horizontal rules that are not axes are the two lines of the filter row, the hairline above each card and the line above the key. 3. **The first screen at 1280 × 900 holds the message, the titles, the caveats, the cards and the top of the first chart.** An executive who does not scroll has the result and its two variances. 4. Labels on the marks, not in legends. A legend exists only for the heat map's colour scale and the key at the foot. 5. Row step 22 px in structure charts, 24 px in tables: dense enough for 16 rows in a third of a screen, large enough for a finger with the whole row as the target.

5. The three page levels

Every page has the same spine, in this order: top bar (organisation, the three levels, data-through date, theme) · filter row (selection, period, comparison, accounting method) · message · three title lines · caveats · the visuals · notes · key. What differs is what the visuals answer.

Overview (index.html; page X1)

Question: do we use and emit less than last year, are we on target, and can the figures be trusted?

 message: consumption and emissions against last year, the site that rose most, the one that fell most
 titles · caveats (coverage, factor status, mixed method)
 ┌ card ──────┐ ┌ card ──────┐ ┌ card ──────┐ ┌ card ──────┐
 │ Elforbrug  │ │ Scope 2,el │ │ Egen prod. │ │ Datadækn.  │   figure · ΔPY · ΔPL · strip of ΔPY % per month
 └────────────┘ └────────────┘ └────────────┘ └────────────┘
 ┌ per month ──────────────────────────────┐ ┌ per site ───────────┐
 │ ΔPY % pins                              │ │ five largest rises  │
 │ ΔPY bars            (8 of 12 columns)   │ │ five largest falls  │   one scale for the unit
 │ AC columns, PY behind                   │ │ the rest · total    │
 └─────────────────────────────────────────┘ └─────────────────────┘

A card chooses the measure of the two charts; the fourth card (coverage) leads to the metering point that lowers it. The charts share the scale of their unit, so the total of the site variances is the same length as the sum of the monthly variance bars beside it.

Analysis (analysis.html; pages A1–A3 in one prototype page)

Question: which sites drive consumption and its change, and when is the power used?

 message · titles · caveats
 ┌ per site, ranked ─────────────────────────────┐ ┌ load duration curve ─┐
 │ name │ AC bar, PY behind │ ΔPY │ ΔPY %         │ │ AC and PY, kW        │
 │ 15 rows, a row opens into its metering points │ │ key figures as table │
 │ remainder                  (8 of 12 columns)  │ └──────────────────────┘
 └───────────────────────────────────────────────┘
 ┌ load by day and clock hour ───────────────────────────────────────────┐
 │ day means (columns)                                                   │
 │ heat map, 316 days × 24 hours                     hour means (bars)   │   one kW scale with the curve
 └───────────────────────────────────────────────────────────────────────┘

Choosing a site opens it in place and narrows the curve, the key figures and the heat map to it; the message and the first title line follow. The heat map is the widest thing in the product on purpose: it is the picture of a year.

Metering point (detail.html; page D1)

Question: what exactly was measured, with which quality, and how was the emission of each hour computed?

 message for the chosen week · titles · caveats
 week chooser
 ┌ per hour ───────────────────────────────────────────┐ ┌ master data ─┐
 │ consumption, kWh per hour (columns)                 │ │ id, type,    │
 │ emission factor, g/kWh (thin line)                  │ │ grid area    │
 │ emissions, kg per hour (columns)   (9 of 12)        │ │ the tree     │
 └─────────────────────────────────────────────────────┘ └──────────────┘
 ┌ intervals of the week (table) ─────────┐ ┌ changed values (table) ────┐
 └────────────────────────────────────────┘ └────────────────────────────┘

The three tiers share the time axis, so a reader sees in one column why an hour emitted what it did. Here the table is not behind a button: on the detail level the numbers are the content.


6. Where the wow comes from

It comes from four moments, each of which is the notation doing its work in front of the reader. None adds a mark, a colour or a shape the manual does not define.

#MomentWhat happensWhy it breaks no rule
1The message points at its evidenceThe page opens with one large sentence. As the charts settle, blue rings draw themselves, in the order the sentence names them, around the same numbers in the cards and bars. Pointing at a number in the sentence thickens its ringThe ring is the notation's own highlight for a cited number (manual §14). Drawing it in sequence only adds the order of reading
2Last year becomes this yearOn the first view the columns stand at last year's height and grow or shrink to this year's; the variance bars and pins grow from their axes at the same time, green or redThe motion is the variance: the distance each column travels is the bar above it. It is linear, 0.64 s, and ends in the exact static chart
3The counter rollsSwitch the accounting method and each digit of the emission figure rolls to its new value like the register of a meter, while the columns below move from the old method's values to the new and hatched tops appear where a method's factors are provisionalIt shows that the same consumption is being read with another method (manual §8): the marks stay, their values change. Nothing is coloured, because a change of method is not a change for better or worse
4A year in one picture, and a site that opensThe heat map shows 7.584 hours: weekends as light stripes, the summer holiday as a pale band, the school year in one site. Choose a site and its row opens into its metering points, bars growing out of the parent's on the same scale, while the picture of the year redraws for that siteThe heat map follows manual §10 (ink ramp, legend, bars on the kW scale). The unfolding keeps the scale (manual §5), which is exactly what makes it readable

A fifth thing is quieter and is what a second-time viewer notices: the honesty of the marks. A month whose factors are not final has a hatched top as high as the part that can still move. A missing night is an empty band that says how many hours it is. A target in another method gets i.r. and a reason.


7. Motion

Principles: motion shows what changed; it is linear, so a length in motion is never misread as accelerating; it is short; it never repeats; it always ends in the exact static drawing; labels appear with the final geometry, so no number is shown that is not a value.

MotionTriggerWhat movesDurationReduced motion
Variance formsFirst view of the overview; a change of measureAC columns from PY's height to their own; variance bars and pins from their axes640 ms, linearThe final chart at once
Method changesThe method switch, while emissions are shownColumns, provisional tops, variance marks from old to new values420 ms, linearThe final chart at once
Counter rollsAny change of a card's figureEach digit rolls to its new value; a figure whose number of digits changes is replaced520 ms, ease-outThe new figure at once
Rings drawAfter the charts have settledEach ring is drawn once around, in the message's order450 ms each, 170 ms apartRings are present from the start
A row unfoldsChoosing a site in the ranked chartChild rows open to full height and their bars grow at the parent's scale; closing reverses it340 ms open, 240 ms close, linearRows appear at once
Hover, focus, tooltip, themePointer, keyboard, the theme buttonNothing is animated0Same

Not animated, deliberately: page loads, section entrances, scrolling, the heat map, tables, the tooltip. A newer change cancels a running one and starts from the current data. prefers-reduced-motion is honoured in script and in the style sheet; with it set, every state is reached instantly and nothing is lost.


8. How a drill-down unfolds

  1. In place first. A site in the ranked chart opens under its own row; the parent stays, bold, as the sum of its children. The scale is held from before the click, so the children's bars are visibly parts of the parent's. 2. The page follows. The first title line gains the filter (…, Hedelundskolen, 10 målepunkter), the filter row shows it, the message is rewritten for the selection, the address gains sted=…. The visuals that depend on the selection redraw; a unit keeps its meaning, and a scale that must change (a site's kW are not the organisation's) changes for every chart of that unit at once. 3. Then across levels. A card or a row leads one level down with the filters carried in the address: overview → analysis of that measure → metering point → (later) day and hour. Each level has its own message and titles; the way back is the browser's. 4. **A drill never changes what a colour or a fill means, and never changes a scale in the middle of a comparison.**

9. Hover and focus

Behaviour
TargetThe whole category or row, full height or width, so a 2 px pin is as easy to hit as a column
HoverThe assisting grey behind the category, at once; a tooltip beside the pointer, never over the mark it describes
TooltipTitle: what and when (okt 2026, tir. 3.11.2026 kl. 22:00–23:00). Rows: AC, PY, ΔPY, ΔPY %, with a small impact square before a variance. Then the states in words (Foreløbig: 100 % af værdien). The one floating layer: page ground, a 1 px edge in the text colour, a soft shadow
Heat mapThe cell is outlined; the tooltip gives the cell, the mean of its day and the mean of its clock hour
Duration curveA vertical hairline; the tooltip reads the curve as a sentence
MessagePointing at a cited number thickens its ring
FocusTab reaches: skip link, levels, theme, method, cards, the rows of a structure chart that can be opened, the table buttons, scrollable regions. Focus shows the 2 px outline in the text colour and the same tooltip. Enter or Space opens a row; arrow keys move within the method switch; Escape closes the tooltip
TouchA tap on a category shows its tooltip; a tap on a row that can be opened opens it

Hover never recolours a mark and never uses an impact colour.


10. Empty, loading and error states

StateWhat is shown
LoadingThe frame of the chart at its final height with the title lines in place; no spinner, no skeleton animation. The message line reads Henter …
Being recomputedThe last figures stay, with a caveat: Tallene genberegnes. Siden opdateres, når de er klar.
No data for the filterIn the chart's place: Ingen værdier for Fjordskolen i uge 53. and one way out: Vælg en anden periode
Figure unavailableIn the figure's place: Ikke tilgængelig and the reason (Målepunktet har intet prisområde). Never 0
Partly absentSection 9 of the manual: bands, symbols, caveats
Variance not applicablei.r. with the reason
ErrorIn the chart's place: what failed and what to do, without the raw error: Tallene kunne ikke hentes. Prøv igen. with a button of that name. The rest of the page stays
No accessDu har ikke adgang til dette sted.
First run, nothing loadedThe overview explains what is being fetched and how far it is (Henter måledata: 14 af 300 målepunkter)

Texts state what happened and what the reader can do; they do not apologise.


11. Widths

Checked in a browser at 390 and 1280 px, light and dark.

1280 px390 px
Message35 px, three lines23 px, five to six lines
CardsFour in a rowTwo by two; the strip narrows with the card
Monthly columnsCategories of about 67 px; relative labels with one decimalCategories of about 30 px; relative labels without decimals; the tier label is Δ %
Site variancesBeside the monthsBelow them, at the same scale
Ranked chartThree tiersTwo tiers (no absolute variance tier); names shortened in the middle
Heat map3 px per day, 10 px per hour, hour means beside it3 px per day, 8 px per hour, scrolls sideways inside its frame and opens at the newest days; hour labels at both ends; hour means in the table view
Hour chartA week across the cell, about 5 px per hour6 px per hour, scrolls sideways inside its frame
TablesIn their cellScroll sideways inside their frame; the page never scrolls sideways
Method switchChoices side by sideA list

The page itself never scrolls horizontally. Where a chart is wider than a phone, it scrolls inside a frame that can be focused and is named for screen readers.


12. Accessibility

TopicWhat the design does
ContrastText 21:1 and 7:1 (light), 15.9:1 and 8.2:1 (dark). Marks at least 3:1, with the light PY fill in the light theme (2.4:1) as the stated exception: it is a fill that always stands beside AC and never carries text
Colour is never aloneDirection and sign carry a variance besides its colour; fills carry scenarios and quality; the states have words
Colour blindnessSection 3: green and red are separated by lightness as well as hue
KeyboardSection 9. Tab order follows reading order. Nothing needs a pointer
Screen readersEach chart is an image with a name that states measure, grouping and comparison, and has a real table with the same numbers behind Vis som tabel. Structure-chart rows that can be opened are buttons with a spoken summary and their open state. The message is a live region, so a change of method or selection is announced as its new sentence. Card figures are read as their text, not digit by digit
Zoom and text sizeLayout in px for the marks, but the page reflows at 200 % zoom like the phone layout
MotionSection 7
Languagelang="da"; all interface text in one place in the product (strings.ts, architecture §7.5)
PrintThe executive pages get a print style for one landscape A4 page (architecture §7.2). The notation needs no change for print, because it never depended on colour alone. The prototype's print style only hides the controls

13. What the prototype is and is not

It is three static pages with hand-written SVG and generated data, made to judge the design. It is not the chart package: the production charts are the copied package (architecture §7.5) extended by the heat map, the duration curve and the dense series, and they take these rules as their specification. Differences worth knowing:

Kilde: docs/design/direction.md i løsningens repository.