Dokumentation · Design
Design: direction, notation manual and prototype
Output of task A2 (15 November 2026). It is what the architecture asks of the design phase
(docs/architecture/solution.md §7.3): the rules every page follows, the visual direction, and a prototype of the
three phase 1 pages.
What is here
| File | What it is |
|---|---|
notation-manual.md | What every mark, colour, code and number means, each rule with its reason. Section 18 is the checklist a page is accepted against; section 19 lists the 29 decisions taken, numbered N1–N29 |
direction.md | The idea, type, colour tokens, grid, the composition of the three page levels, where the wow comes from, motion, drill-down, hover and focus, states, widths, accessibility |
style-layers.md | Task S1 (27 November 2026): every rule of the notation manual and every decision N1–N29 marked product (holds in every style) or default style (Analytisk's choice another style may make differently); the specification of what a style file may and may not set |
proposal-2026-11-mix-styles-map.md, proposals/2026-11/ | Task A7 (26 November 2026): a proposal for the owner to choose from, with five drawings: three forms of the mix page, a second style for the whole product, the meters on a map. Nothing in it is built or decided |
prototype/index.html | Executive overview (page X1) |
prototype/analysis.html | Analysis: sites, load duration curve, heat map (pages A1–A3 in one) |
prototype/detail.html | One metering point, hour by hour (page D1) |
prototype/style.css, data.js, charts.js, app.js | Shared styles; the generated data; the chart drawing; the page logic |
prototype/fonts/ | Archivo, a Latin subset as one WOFF2 file of 88 KB, and its licence (OFL.txt) |
How to open the prototype
Open prototype/index.html in a browser, straight from the folder. There is no build step, no server and no
network request; the data is generated in the page by a seeded generator, so every load shows the same figures.
Things to try:
- The accounting method in the filter row. With
Scope 2, elchosen on the overview, the emission figure rolls, the columns move to the new method,Markedsbaseretturns the whole year hatched (its factor for 2026 is not published), andStedets standardshows a total over two methods with its label and caveat. - The cards on the overview choose what the two charts show.
- A site in the ranked chart of the analysis page opens into its metering points; the curve and the heat map follow. Try Hedelundskolen (a school year) and Vejbelysning Nord (darkness, and new lamps).
- The weeks on the metering point page: a gap and estimated values, the 25-hour day, the 23-hour day, hours that await their factor.
- Mørkt tema / Lyst tema in the top bar, and a narrow window (390 px).
Vis som tabelunder any chart; the Tab key.
The address keeps the state, for example index.html#m=MB-AN-EN&maal=co2 or analysis.html#sted=1.
Period, selection and comparison are shown but fixed in the prototype.
The generated organisation
Vesterfjord Kommune is invented: 40 sites (schools, day care, care homes, administration, a swimming pool,
sports halls, culture, technical plants, street lighting) and 300 metering points with numbers in the
579999… test range. 1 January 2025 to 12 November 2026, hour by hour, in Danish local time.
| Asked for in the brief | Where it is |
|---|---|
| Seasonality, weekdays and weekends | Every site; clearest in the heat map |
| Solar sites | Four (Fjordskolen, Nørremarksskolen, Bakkegårdsskolen, Plejecenter Solbakken); the card Egen produktion |
| A site with a data gap, estimated values | Fjordskolen's main meter: 14 hours missing on 3–4 November, the next 36 estimated. Metering point page, week 45 |
| A 23-hour and a 25-hour day | 29 March and 25 October 2026. Metering point page, weeks 13 and 43; marked under the heat map |
| Preliminary and pending factors | Hourly factors are final to 31 August, preliminary from 1 September, pending for 11–12 November; the yearly market-based factor for 2026 is replaced by 2025's |
| A story to read | Consumption 2,4 % under last year but over target; emissions 11 % down; the swimming pool up 76 MWh; street lighting north down 112 MWh after new lamps; a calm October with emissions 24 % over last year's |
Emission factors are invented and only have the shape of real ones.
Decisions taken where the owner left them to the lead (D8)
Full list with reasons: notation-manual.md §19. The ones D8 names:
| Question of D8 | Decision | No. |
|---|---|---|
| Code for a target | PL, Danish name "Mål", outlined. BU only where a real budget exists | N2 |
| Code for the previous period | PP, "Forrige periode", drawn like PY; a chart shows one earlier reference only | N4 |
| Code for the base year | BY, "Basisår", drawn like PY and labelled with its year. Not "baseline" | N3 |
| The code set as a whole | AC, PY, PP, BY, PL, BU, FC in charts and tables; Danish words in sentences; a key on every page | N1, N14 |
| Card style | Plain: no frame, shadow, rounded corner or ground. Lines on a page are axes and table rules | N15 |
| Polarity per measure | The table in §3: consumption, emissions, intensities, cost, base and peak load −1; production, renewable share, coverage +1; export, load factor, prices, grid factors 0 | N8 |
Decisions beyond D8 that shape the product most:
- One grammar of certainty (N5–N7): solid is final, hatched is provisional (estimated, preliminary or forecast), outlined is set, empty is absent. The provisional part of a column is hatched to scale.
- Impact colours retuned (N9) so green and red stay apart for red-green colour blindness.
- The heat map's colour scale is not anchored at zero (N20); the bars beside it are.
- Cards carry a strip of monthly relative variances on one shared percentage scale instead of a sparkline each on its own scale (N16).
- The interface has no colour of its own; type is Archivo, one family, with its width axis (direction §1–3).
What I would ask the owner to look at first
- The overview in the first ten seconds (
index.htmlat full width): the sentence, the rings, the columns forming. Is this the flair you meant, or do you want more than motion, type and restraint? 2. ClickScope 2, el, then switch the method. Does the hatched part of a column read as "not final yet" without explanation? This is the rule the whole quality notation rests on. 3. The heat map and a site that opens (analysis.html, choose Hedelundskolen).
Questions for the owner
| # | Question | Why it matters | My recommendation |
|---|---|---|---|
| 1 | Codes or Danish words in charts? ΔPY, AC, PL are compact and are your house style; a Danish executive may not know them. | Every chart label and table header | Keep the codes, with the key at the foot of each page. Say if you want Δ sidste år and Mål written out instead |
| 2 | Do you accept the retuned green (#2BA84A) and red (#B81414), and their dark-theme pair, in place of the values of your earlier packages? | The token file of the chart package changes | Yes: the earlier pair fails the colour-blindness check (4.1 against a target of 8) |
| 3 | Should an estimated reading and a preliminary factor share the forecast's hatch, or have a pattern of their own? | Manual §1, §9 | Share it: all three mean "will change", and a second pattern is a second thing to learn |
| 4 | Plain cards, without frames and shadows, although your existing shell has framed cards? | The shell's card component is restyled | Plain |
| 5 | A full stop as thousands separator (1.234,5), or a thin space (1 234,5)? Both are correct Danish. | The one formatting module | Full stop: it is what Danish spreadsheets and exports show |
| 6 | May the heat map's colour scale start at the lowest value of the selection instead of at zero? | Manual §10 | Yes, with the zero-based bars beside it. Anchored at zero the map loses most of its contrast |
Checks made
- Opened in a browser at 1280 px and 390 px, in the light and the dark theme, all three pages; the faults seen were fixed (labels on columns, a weak heat-map scale, a filter row that wrapped, an overflowing legend on the phone, stray lines in a sticky table header).
- No horizontal page scroll at 390 px; no console errors apart from the test server's missing favicon.
- The impact colours were run through the palette validator in both themes (direction §3).
- No request leaves the page: the only files loaded are those in
prototype/.
Not done: an automated accessibility run (axe), a test with a screen reader, printing, and browsers other than Chromium. The chart code is prototype code and is not meant to be reused.
Kilde: docs/design/README.md i løsningens
repository.