Add hourly usage snapshots, analysis layer, scorecard, tooltips & guided tour
- data-pipeline: hourly NDW snapshot job (occupancy + status) + GitHub Action; per-gemeente day files, current-status, daily-average rollup. - webapp: usage-over-day chart in detail panel; fresh per-gemeente status colours; national analysis choropleth (LayerSwitcher) + gemeente scorecard with demand (peer-model), siting priority, congestion and live/potential net-impact scenario. - analysis/ (Python): golden dataset (CBS Kerncijfers + chargers) -> derived metrics + models (demand, siting, congestion, municipal percentiles). - UX: InfoTip tooltips throughout, expanded methodology modal, interactive guided tour (spotlight + blur) that drives the app to example screens. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
55ecd88b78
commit
800ad823e9
@@ -3,6 +3,7 @@
|
||||
import { useMemo } from "react";
|
||||
import type { ChargeFeature } from "@/types/charging";
|
||||
import { LEGEND } from "@/lib/colors";
|
||||
import InfoTip from "@/components/InfoTip";
|
||||
|
||||
interface StatsPanelProps {
|
||||
gemeente: string;
|
||||
@@ -50,7 +51,14 @@ export default function StatsPanel({ gemeente, chargeFeatures }: StatsPanelProps
|
||||
<div className="text-xl font-bold text-amber-700 tabular-nums">
|
||||
{stats.freight.toLocaleString("nl-NL")}
|
||||
</div>
|
||||
<div className="text-xs text-amber-900">Logistiek / vracht</div>
|
||||
<div className="text-xs text-amber-900 flex items-center gap-1">
|
||||
Logistiek / vracht
|
||||
<InfoTip title="Logistiek / vracht">
|
||||
Laadpunten geclassificeerd als zware-voertuiglader: een truck-exploitant (Milence, WattHub…),
|
||||
de MCS/megawatt-standaard, of een DC-connector ≥ 350 kW. Gewone snelladers (150–350 kW) blijven
|
||||
personenauto.
|
||||
</InfoTip>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -62,7 +70,13 @@ export default function StatsPanel({ gemeente, chargeFeatures }: StatsPanelProps
|
||||
|
||||
{/* OCPI status breakdown */}
|
||||
<div>
|
||||
<div className="text-xs font-medium text-gray-600 mb-1">Status (OCPI-momentopname)</div>
|
||||
<div className="text-xs font-medium text-gray-600 mb-1 flex items-center gap-1">
|
||||
Status (OCPI-momentopname)
|
||||
<InfoTip title="OCPI-status">
|
||||
Beschikbaar/bezet/niet-beschikbaar komt uit de OCPI-status in de laatste uurlijkse momentopname van
|
||||
de NDW-data — een snapshot, geen continue realtime stream. “Bezet” = connector aan het laden.
|
||||
</InfoTip>
|
||||
</div>
|
||||
<div className="flex flex-wrap gap-x-3 gap-y-1 text-xs">
|
||||
<StatusChip color={LEGEND.available} label="Beschikbaar" value={stats.available} />
|
||||
<StatusChip color={LEGEND.charging} label="Bezet" value={stats.charging} />
|
||||
|
||||
Reference in New Issue
Block a user