Swimmable

A past project: a real-time map of water safety at every regulator-monitored bathing water in mainland Britain, refreshed every 15 minutes.

1 June 2026

public-datahydrologymappingwater-quality

Swimmable's detail panel for the Swale above Richmond Falls, flagged Avoid swimming on an active Yorkshire Water discharge, with no Environment Agency classification.

I love a good wild swim, and I prefer to know whether the water has sewage in it before I get in.

Upon starting this project I realised that's harder to answer than you'd expect. The regulators publish their data and the water companies theirs, but the data can vary on the same stretch, on the same day. I decided to dig into the data and see what I could pull together. In the end that was eleven water company feeds, three statutory regulators, and a catchment dataset curated by Alex Lipp, who was very helpful in guiding my thinking. The end result was a live map of every monitored bathing water in mainland Britain, 666 of them, updated to within fifteen minutes.

The disagreement between sources took up more of the build than I'd expected. You'd think whether a river is clean would be a settled question but it isn't, and working out why took me on a journey of hydrology - exploring the impact of soil type, slope, the lie of the land, and how all of it decides whether a sewage discharge upstream ever reaches the spot you're standing in.

The Swale above Richmond Falls is a perfect example. In the panel above, the map has it flagged unsafe: an active Yorkshire Water discharge roughly 300 metres upstream, logged within the hour, with the Environment Agency record showing the spot not classified and no pollution forecast published for it. The regulator had nothing to say about the place; the discharge data said don't get in. That gap was the whole reason the map needed building. Because the feed updated every fifteen minutes, each verdict was tied to a moment. An hour later it could read differently, because the discharge had stopped and the map had moved with it. The regulators classify a bathing water once a year. The river changes faster than that.

That lag cut the other way too. Pangbourne Meadow had no classification and no statutory monitoring when I built this, and the catchment data was already treating it as risky. Shortly afterwards the Environment Agency designated it a bathing water, so the official record caught up with something the map had been showing a month earlier.

I built the map in a couple of days with Claude Code, on Next.js, Supabase and Mapbox. It is no longer running.

Henry Guyver is an Enterprise AI Strategist working across Europe.