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
@@ -0,0 +1,33 @@
|
||||
// Types for the analysis (golden-dataset) layers.
|
||||
|
||||
export interface MetricMeta {
|
||||
key: string;
|
||||
label: string;
|
||||
unit: string;
|
||||
decimals: number;
|
||||
category?: string;
|
||||
desc?: string;
|
||||
}
|
||||
|
||||
export type AreaProps = Record<string, string | number | null | undefined> & {
|
||||
code: string;
|
||||
gemeente: string;
|
||||
slug?: string;
|
||||
};
|
||||
|
||||
export interface ChoroplethFeature {
|
||||
type: "Feature";
|
||||
geometry: { type: "Polygon" | "MultiPolygon"; coordinates: unknown };
|
||||
properties: {
|
||||
code: string;
|
||||
gemeente: string;
|
||||
slug?: string;
|
||||
[metric: string]: string | number | null | undefined;
|
||||
};
|
||||
}
|
||||
|
||||
export interface ChoroplethData {
|
||||
type: "FeatureCollection";
|
||||
metadata: { metrics: MetricMeta[] };
|
||||
features: ChoroplethFeature[];
|
||||
}
|
||||
Reference in New Issue
Block a user