From 1fbef551c726a81e39caf6ba0fd9c6308b166e5a Mon Sep 17 00:00:00 2001
From: Jonas Hertner
Date: Sun, 11 Oct 2026 01:34:57 +0200
Subject: [PATCH] Redraw the water budget page as an interactive figure set
- Balance: a flow diagram, inputs to outputs through the country, with
each band as thick as its volume. All periods share one scale, so a
wet year draws larger, and switching periods animates the volumes.
- Outflow: bars run from the 1991-2020 mean line, so a bar's length is
the departure from the mean.
- Drought: weekly columns stack the driest level at the foot.
- Groundwater and lakes: a new figure with one square per monitoring
site, plus a table of every site with its value and normal range.
- Catchments: a dot plot of precipitation, runoff and evaporation
against each catchment's own normal, using a shape per term.
- Drinking water: the full series since 2000 by source, with the change
in total and per-person supply.
- Tiles: each gains a meter or one square per site or region.
Every mark has a hover reading, and every chart keeps its number table.
Charts redraw at their container's width. Prose keeps its 42rem measure
while figures take a 60rem column. Time-axis labels skip any label that
would collide. The term palette was checked for colour-blind
separation in both themes.
Co-Authored-By: Claude Opus 5.5
---
build/pages/index.en.html | 2 +-
build/pages/updates.json | 6 +-
site/about.html | 4 +-
site/budget.html | 37 +++-
site/budget.js | 397 ++++++++++++++++++++++++++++++++------
site/data/provenance.json | 2 +-
site/de/about.html | 4 +-
site/de/budget.html | 35 +++-
site/de/index.html | 2 +-
site/de/law.html | 4 +-
site/de/method.html | 4 +-
site/de/sources.html | 4 +-
site/en/index.html | 2 +-
site/fr/about.html | 4 +-
site/fr/budget.html | 35 +++-
site/fr/index.html | 2 +-
site/fr/law.html | 4 +-
site/fr/method.html | 4 +-
site/fr/sources.html | 4 +-
site/i18n.js | 65 ++++++-
site/index.html | 2 +-
site/it/about.html | 4 +-
site/it/budget.html | 35 +++-
site/it/index.html | 2 +-
site/it/law.html | 4 +-
site/it/method.html | 4 +-
site/it/sources.html | 4 +-
site/law.html | 4 +-
site/method.html | 4 +-
site/rm/about.html | 4 +-
site/rm/budget.html | 35 +++-
site/rm/index.html | 2 +-
site/rm/law.html | 4 +-
site/rm/method.html | 4 +-
site/rm/sources.html | 4 +-
site/site.css | 224 +++++++++++++--------
site/sitemap.xml | 55 +++---
site/sources.html | 4 +-
38 files changed, 766 insertions(+), 254 deletions(-)
diff --git a/build/pages/index.en.html b/build/pages/index.en.html
index a139ff8..d370fdb 100644
--- a/build/pages/index.en.html
+++ b/build/pages/index.en.html
@@ -34,7 +34,7 @@
-
+
diff --git a/build/pages/updates.json b/build/pages/updates.json
index ed95d13..f4777ce 100644
--- a/build/pages/updates.json
+++ b/build/pages/updates.json
@@ -512,5 +512,9 @@
"Storage, spring discharge and recharge": {"de":"Vorrat, Quellschüttung und Neubildung","fr":"Réserves, débit des sources et recharge","it":"Riserve, portata delle sorgenti e ricarica","rm":"Reserva, defluss da las funtaunas e rimplazzament"},
"Four historical registers; annual public drinking-water supply": {"de":"Vier historische Register; jährliche öffentliche Trinkwasserversorgung","fr":"Quatre registres historiques ; distribution publique annuelle d’eau potable","it":"Quattro registri storici; approvvigionamento pubblico annuale di acqua potabile","rm":"Quatter registers istorics; provediment public annual d’aua da baiver"},
"The national water balance, stores and uses": {"de":"Die nationale Wasserbilanz, Speicher und Nutzungen","fr":"Le bilan hydrique national, les réserves et les utilisations","it":"Il bilancio idrico nazionale, le riserve e gli utilizzi","rm":"La bilantscha d’aua naziunala, las reservas e las utilisaziuns"},
- "Current outflow, groundwater, lake levels and drought": {"de":"Aktueller Abfluss, Grundwasser, Seestände und Trockenheit","fr":"Écoulement actuel, eaux souterraines, niveaux des lacs et sécheresse","it":"Deflusso attuale, acque sotterranee, livelli dei laghi e siccità","rm":"Defluss actual, aua sutterrana, nivels dals lais e sitgira"}
+ "Current outflow, groundwater, lake levels and drought": {"de":"Aktueller Abfluss, Grundwasser, Seestände und Trockenheit","fr":"Écoulement actuel, eaux souterraines, niveaux des lacs et sécheresse","it":"Deflusso attuale, acque sotterranee, livelli dei laghi e siccità","rm":"Defluss actual, aua sutterrana, nivels dals lais e sitgira"},
+ "Groundwater and lakes, site by site": {"de":"Grundwasser und Seen, Messstelle für Messstelle","fr":"Eaux souterraines et lacs, station par station","it":"Acque sotterranee e laghi, stazione per stazione","rm":"Aua sutterrana e lais, staziun per staziun"},
+ "Each square is one monitoring site, placed by where its latest monthly mean stands in its own 1991–2020 record for the same month: below the 20th percentile, between the 20th and 80th, or above the 80th. Point at a square for the site and its values.": {"de":"Jedes Quadrat ist eine Messstelle, eingeordnet danach, wo ihr jüngstes Monatsmittel in ihrer eigenen Messreihe 1991–2020 für denselben Monat liegt: unter dem 20. Perzentil, zwischen dem 20. und dem 80. oder über dem 80. Zeigen Sie auf ein Quadrat für die Messstelle und ihre Werte.","fr":"Chaque carré est une station de mesure, classée selon la place de sa dernière moyenne mensuelle dans sa propre série 1991–2020 pour le même mois : sous le 20e centile, entre le 20e et le 80e, ou au-dessus du 80e. Pointez un carré pour voir la station et ses valeurs.","it":"Ogni quadrato è una stazione di misura, collocata secondo la posizione della sua ultima media mensile nella propria serie 1991–2020 per lo stesso mese: sotto il 20° percentile, tra il 20° e l’80° o sopra l’80°. Puntate su un quadrato per la stazione e i suoi valori.","rm":"Mintga quadrat è ina staziun da mesiraziun, ordinada tenor nua che sia ultima media mensila stat en sia atgna seria 1991–2020 per il medem mais: sut il 20avel percentil, tranter il 20avel e l’80avel u sur l’80avel. Mussai sin in quadrat per la staziun e sias valurs."},
+ "Show the numbers": {"de":"Zahlen anzeigen","fr":"Afficher les chiffres","it":"Mostra i numeri","rm":"Mussar las cifras"},
+ "Every other use": {"de":"Alle übrigen Nutzungen","fr":"Toutes les autres utilisations","it":"Tutti gli altri utilizzi","rm":"Tut las autras utilisaziuns"}
}
diff --git a/site/about.html b/site/about.html
index b11b940..1368c5d 100644
--- a/site/about.html
+++ b/site/about.html
@@ -30,8 +30,8 @@
-
-
+
+
diff --git a/site/budget.html b/site/budget.html
index 8b60df1..1623aa7 100644
--- a/site/budget.html
+++ b/site/budget.html
@@ -30,8 +30,8 @@
-
-
+
+
@@ -98,12 +98,17 @@
Water leaving the country
where most Swiss water crosses the border, as a share of the 1991–2020 mean for the
same month. Together they carry about five sixths of the national outflow; the Ticino,
the Inn, the Doubs and smaller border rivers carry the rest.
-
+
Drought regions
The combined drought index of the federal drought platform for its 38 warning regions,
week by week. It merges precipitation over one, three and twenty-four months, river
flow and modelled soil moisture into five levels, from 1, not dry, to 5, extremely dry.
-
+
+
Groundwater and lakes, site by site
+
Each square is one monitoring site, placed by where its latest monthly mean stands in its
+ own 1991–2020 record for the same month: below the 20th percentile, between the 20th
+ and 80th, or above the 80th. Point at a square for the site and its values.
+
@@ -114,7 +119,11 @@
The annual balance
ice, soil, groundwater and lakes. BAFU publishes the terms for political Switzerland,
41’285 km², in millimetres of water over that area. Here they are also
given in cubic kilometres; one millimetre is 0.041 km³.
-
+
+
+
+
+
A model constrained by measurement. The figures come from the
hydrological model PREVAH on a 200-metre grid. Measured discharge is treated as exact and
@@ -129,7 +138,12 @@
By catchment
The same table gives the twelve large catchments BAFU balances separately. Their figures
are in millimetres over each catchment’s own area and are compared here with that
catchment’s own 1991–2020 mean.
-
+
+
+
+ Show the numbers
+
+
@@ -148,7 +162,14 @@
What is used
by the Swiss Gas and Water Industry Association (SVGW) published by the Federal
Statistical Office. Every other national figure for abstraction describes 2006 or carries
no year at all.
-
+
+
+
+