Dumbbell gap rows
Two marks per row, a ring for the plan and a diamond for what happened, joined by the gap between them. For planned against actual on one scale.
Crossing times, timetable against actual
Average of last week's sailings. The Gannet Rock run takes 12 minutes longer than printed.
- Harbour to North Quay+1 minTimetable 12 minutes, actual 13 minutes.
- North Quay to SaltmarshOn timeTimetable 18 minutes, actual 18 minutes.
- Harbour to Pell Island+2 minTimetable 25 minutes, actual 27 minutes.
- Harbour to Saltmarsh+4 minTimetable 32 minutes, actual 36 minutes.
- Pell Island to Gannet Rock+12 minTimetable 40 minutes, actual 52 minutes.
The code
Plain HTML and CSS on your kit's variables. Put it next to tokens/variables.css from your kit's files and it draws in your look.
<div class="ukc-chart-dumbbell-gap">
<figure class="db">
<figcaption><h3 class="ttl">Crossing times, timetable against actual</h3><p class="sub">Average of last week's sailings. The Gannet Rock run takes 12 minutes longer than printed.</p></figcaption>
<p class="key" aria-hidden="true"><span><i class="m plan"></i>Timetable</span><span><i class="m real"></i>Actual</span></p>
<ul class="rows">
<li><span class="nm">Harbour to North Quay</span><span class="gap">+1 min</span><span class="trk" aria-hidden="true"><span class="lk" style="--a:20%;--b:21.67%"></span><i class="m plan" style="--x:20%"></i><i class="m real" style="--x:21.67%"></i></span><span class="sr">Timetable 12 minutes, actual 13 minutes.</span></li>
<li><span class="nm">North Quay to Saltmarsh</span><span class="gap">On time</span><span class="trk" aria-hidden="true"><span class="lk" style="--a:30%;--b:30%"></span><i class="m plan" style="--x:30%"></i><i class="m real" style="--x:30%"></i></span><span class="sr">Timetable 18 minutes, actual 18 minutes.</span></li>
<li><span class="nm">Harbour to Pell Island</span><span class="gap">+2 min</span><span class="trk" aria-hidden="true"><span class="lk" style="--a:41.67%;--b:45%"></span><i class="m plan" style="--x:41.67%"></i><i class="m real" style="--x:45%"></i></span><span class="sr">Timetable 25 minutes, actual 27 minutes.</span></li>
<li><span class="nm">Harbour to Saltmarsh</span><span class="gap">+4 min</span><span class="trk" aria-hidden="true"><span class="lk" style="--a:53.33%;--b:60%"></span><i class="m plan" style="--x:53.33%"></i><i class="m real" style="--x:60%"></i></span><span class="sr">Timetable 32 minutes, actual 36 minutes.</span></li>
<li class="on"><span class="nm">Pell Island to Gannet Rock</span><span class="gap">+12 min</span><span class="trk" aria-hidden="true"><span class="lk" style="--a:66.67%;--b:86.67%"></span><i class="m plan" style="--x:66.67%"></i><i class="m real" style="--x:86.67%"></i></span><span class="sr">Timetable 40 minutes, actual 52 minutes.</span></li>
</ul>
<p class="ax" aria-hidden="true"><span style="--x:0%">0</span><span style="--x:25%">15</span><span style="--x:50%">30</span><span style="--x:75%">45</span><span style="--x:100%">60 min</span></p>
</figure>
</div>
.ukc-chart-dumbbell-gap { position: relative; font-family: var(--uk-font-body, system-ui, sans-serif); color: var(--uk-ink); font-size: 15px; line-height: 1.5;
--tint: color-mix(in srgb, var(--uk-accent) 12%, var(--uk-paper));
--tint-strong: color-mix(in srgb, var(--uk-accent) 22%, var(--uk-paper));
--accent-deep: color-mix(in srgb, var(--uk-accent) 72%, black);
--ink-soft: color-mix(in srgb, var(--uk-ink) 8%, var(--uk-paper));
--line-strong: color-mix(in srgb, var(--uk-ink) 32%, var(--uk-paper));
--danger-tint: color-mix(in srgb, var(--uk-danger) 12%, var(--uk-paper));
--high-tint: color-mix(in srgb, var(--uk-highlight) 28%, var(--uk-paper)); }
.ukc-chart-dumbbell-gap *, .ukc-chart-dumbbell-gap *::before, .ukc-chart-dumbbell-gap *::after { box-sizing: border-box; }
.ukc-chart-dumbbell-gap :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; }
.ukc-chart-dumbbell-gap :where(ul, ol) { padding: 0; list-style: none; }
.ukc-chart-dumbbell-gap :where(button, input, select, textarea) { font: inherit; color: inherit; }
.ukc-chart-dumbbell-gap :where(a) { color: inherit; }
.ukc-chart-dumbbell-gap svg { flex: none; }
.ukc-chart-dumbbell-gap { container-type: inline-size; inline-size: 100%; }
.ukc-chart-dumbbell-gap .ttl { font-size: 15px; font-weight: 600; line-height: 1.35; }
.ukc-chart-dumbbell-gap .sub { margin-top: 2px; font-size: 13px; color: var(--uk-muted); }
.ukc-chart-dumbbell-gap .sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ukc-chart-dumbbell-gap .db { max-width: 540px; }
.ukc-chart-dumbbell-gap .key { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 12px; font-size: 12px; color: var(--uk-muted); }
.ukc-chart-dumbbell-gap .key span { display: inline-flex; align-items: center; gap: 8px; }
.ukc-chart-dumbbell-gap .m { flex: none; width: 12px; height: 12px; }
.ukc-chart-dumbbell-gap .plan { border: 2px solid var(--uk-ink); border-radius: 999px; background: var(--uk-paper); }
.ukc-chart-dumbbell-gap .real { width: 9px; height: 9px; background: var(--uk-ink); transform: rotate(45deg); }
.ukc-chart-dumbbell-gap .rows { display: grid; gap: 12px; margin-top: 14px; }
.ukc-chart-dumbbell-gap .rows li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: baseline; }
.ukc-chart-dumbbell-gap .nm { font-size: 14px; line-height: 1.35; }
.ukc-chart-dumbbell-gap .gap { font: 12px/1.4 var(--uk-font-mono, ui-monospace, monospace); color: var(--uk-muted); white-space: nowrap; }
.ukc-chart-dumbbell-gap .trk { grid-column: 1 / -1; position: relative; height: 14px; margin: 0 7px; border-right: 1px solid color-mix(in srgb, var(--uk-ink) 14%, var(--uk-paper)); background: linear-gradient(to right, color-mix(in srgb, var(--uk-ink) 14%, var(--uk-paper)) 1px, transparent 1px) 0 0 / 25% 100%; }
.ukc-chart-dumbbell-gap .trk::before { content: ""; position: absolute; left: 0; right: 0; top: 6.5px; border-top: 1px solid color-mix(in srgb, var(--uk-ink) 14%, var(--uk-paper)); }
.ukc-chart-dumbbell-gap .lk { position: absolute; top: 5px; height: 4px; left: var(--a); width: calc(var(--b) - var(--a)); background: color-mix(in srgb, var(--uk-ink) 40%, var(--uk-paper)); }
.ukc-chart-dumbbell-gap .trk .m { position: absolute; left: var(--x); }
.ukc-chart-dumbbell-gap .trk .plan { top: 1px; margin-left: -6px; }
.ukc-chart-dumbbell-gap .trk .real { top: 2.5px; margin-left: -4.5px; box-shadow: 0 0 0 1.5px var(--uk-paper); }
.ukc-chart-dumbbell-gap .on .nm { font-weight: 600; }
.ukc-chart-dumbbell-gap .on .gap { color: var(--uk-ink); font-weight: 600; }
.ukc-chart-dumbbell-gap .on .lk, .ukc-chart-dumbbell-gap .on .real { background: var(--uk-accent); }
.ukc-chart-dumbbell-gap .ax { position: relative; height: 16px; margin: 6px 7px 0; font: 11px/16px var(--uk-font-mono, ui-monospace, monospace); color: var(--uk-muted); }
.ukc-chart-dumbbell-gap .ax span { position: absolute; top: 0; left: var(--x); transform: translateX(-50%); white-space: nowrap; }
.ukc-chart-dumbbell-gap .ax span:first-child { transform: translateX(-7px); }
.ukc-chart-dumbbell-gap .ax span:last-child { transform: translateX(calc(-100% + 7px)); }
More charts and kpis
All 24What people borrow
Share of loans at Marlow Street Library. Audiobooks nearly tripled.
From the till to what is left
Dapple Bakery, October. Of $38,400 taken, $6,200 stayed after costs. Wages are the biggest bite.
- Counter sales$31,600
- Wholesale orders+$6,800
- Flour, butter, fillings−$11,200
- Wages−$14,600
- Rent and power−$4,900
- Card fees and waste−$1,500
- Left over$6,200
Walk-in waits by clinic
Average wait each day this week, Monday to Sunday. Every panel runs 0 to 50 minutes and the dashed line is the 30 minute target.
-
Harbour Road
24 min at worst
Under target all week
-
Millbrook
38 min at worst
Over target 3 days
-
Station Square
18 min at worst
Under target all week
-
Eastfield
29 min at worst
Under target all week
-
Quarry Lane
47 min at worst
Over target 5 days
-
Northgate
26 min at worst
Under target all week
-
Rainwater tank 2 · Fernhill Nursery
68% full
8,160 of 12,000 litres
About 19 days of watering at this week's rate.
Order a delivery under 25%
Kettle and Crank
Coffee cart · Pier 4 market
· 7 am to 3 pmWhat sold on Saturday Item Qty Amount Flat white 86 $387.00 Filter coffee 54 $189.00 Oat latte 41 $205.00 Cinnamon bun 37 $148.00 Everything else 22 $82.50 Total 240 $1,011.50 Last Saturday$893.50
Better by$118.00
Items by hour
78910111212Busiest hour 10 am · 52 items
Thank you. Back on the pier Sunday.
Studio B · room noise overnight
58dB
Loudest moment, 3:12 am. A freight train.
- Usual level
- 23 dB
- Over the line
- 1 time