SDG addressed

UN Sustainable Development Goal 6: Clean Water and Sanitation, specifically target 6.1: by 2030, achieve universal and equitable access to safe and affordable drinking water for all. Progress on this target is measured by indicator 6.1.1, the share of people using safely managed drinking water. TapTrack works on one cause of that gap: water points that exist but are broken or unsafe, and stay that way because no one responsible for fixing them knows.

The problem

Around 2 billion people still lack safely managed drinking water (WHO/UNICEF JMP, 2023). Often the problem is not that a community has no well or tap. It is that the one they have has broken down, and nobody responsible for fixing it knows. Studies of rural water supply in sub-Saharan Africa have estimated that about one in four hand pumps is not working at any given time (Rural Water Supply Network), and a broken pump can stay broken for months. Survey data is collected once every few years, so by the time it is published, much of it is out of date. The people who know the current state of a water point are the people who walk to it every day, but they have no simple way to tell anyone.

What TapTrack does

TapTrack is a map of water points that anyone can update in a few seconds, with no app and no account.

  • Status map. 23,014 water points across 206 countries and all 6 inhabited continents, colored by status: working, broken, unsafe to drink, or unknown. Each point opens a card with its survey history, source type, people served, and live vote counts.
  • One-tap reporting. Anyone at a water point can vote Working, Broken, or Unsafe to drink. Once a point has at least 3 votes, the community consensus replaces the old survey status. This keeps the map current between official surveys.
  • QR stickers. Every water point has a printable QR sticker. Stick it on the pump, tap, or kiosk, and anyone who scans it with a phone camera lands directly on that water point and can report its status.
  • Nearest working water. Click anywhere on the map and TapTrack finds the three closest water points that are currently working, with walking distance and time. It estimates the round trip on foot and flags when it goes beyond 30 minutes, the limit in the WHO/UNICEF definition of basic drinking water access.
  • Repair priority. A ranked list of broken and unsafe water points in the current selection, sorted by how many people they serve, so a district water office or NGO can send repair crews where they help the most people. It exports to CSV.
  • Population impact map. Circles sized by the number of people each water point serves, so the water points that matter most stand out.
  • Analytics. Functionality by country, by age of the water point (with 95% Wilson confidence intervals), by source type, and by continent.
  • Add a water point. Anyone can add a missing tap, well, or kiosk to the map.
  • Filters. Continent, country, region or city, district, source type, status, and data source.
  • Basemaps. Satellite imagery (so you can see the actual school, clinic, or market next to a pump) or a clean street map, with labels on or off.

Who it is for

  • Communities and water users, who report the status of the water points they rely on and find the nearest working one when theirs is down.
  • District water offices, utilities, and NGOs that maintain rural water systems, who use the Repair priority list and the CSV export to plan repair trips.
  • Researchers, journalists, and funders, who use the Analytics tab to compare how often water points work by country, by age, and by source type.

How it aligns with SDG 6

Target 6.1 is about access to safe drinking water, and access depends on water points that actually work. TapTrack attacks the maintenance gap: it shortens the time between a water point breaking and the right people finding out, it ranks repairs by how many people are affected, and it separates "broken" from "unsafe to drink" so that water quality problems are not hidden behind a working pump.

How I built it

  • Front end: a single-page web app in plain HTML, CSS, and JavaScript, with MapLibre GL JS for the map. There is no build step and no framework, so it loads fast on slow connections.
  • Maps: Esri World Imagery for satellite, and OpenStreetMap vector tiles from OpenFreeMap for labels, roads, borders, and the street map. All place names are shown in English.
  • Data: I wrote Python scripts that build the dataset from open sources:
    • Water Point Data Exchange (WPdx+), the largest open dataset of rural water point surveys: a stratified sample of about 460 points per country across 19 countries, drawn from random offsets so one survey batch does not dominate, plus points around 43 cities in highly affected countries.
    • OpenStreetMap, via the Overpass API: public taps, drinking fountains, water points, and wells around every city of 500,000 or more people worldwide (about 1,200 cities), plus the largest city of every other country. Each city gets a number of points that grows with the square root of its population, so most points are where most people live, while every country is still covered.
    • GeoNames for city locations and populations.
  • Statistics: % functional is reported with 95% Wilson score intervals, and the Methods tab documents every classification rule and limitation.
  • Shared backend (ready, not yet connected): a Supabase (PostgreSQL) schema for shared votes and community points. Visitors get an anonymous server-issued session, so votes cannot be forged; all writes go through validated database functions with rate limits; and individual voters are never exposed.
  • Hosting: Vercel, with source on GitHub.

Challenges

  • Getting a fair sample. My first sample of the WPdx data came from the first rows of each country's records, and it made some countries look far better or worse than they are. I switched to sampling from random offsets and checked each country's sampled functional rate against its full rate.
  • Spreading points by population. Public map servers were often down or rate-limited, and many cities in highly affected countries have few mapped water points. I combined survey data near those cities with OpenStreetMap data and weighted each city by population.
  • Satellite coverage. High-resolution imagery does not exist everywhere, which left blank tiles in remote areas. I layered sharp imagery on top of a base layer that covers the whole world, so there are no gaps.
  • Preventing abuse of open voting. Letting anyone vote without an account invites spam, so the database design ties each vote to a server-issued anonymous identity and enforces rate limits that cannot be reset by deleting and re-casting a vote.

Accomplishments I'm proud of

  • A map of more than 23,000 real water points from open data, covering every country.
  • Reporting that takes one tap and needs no app or account, with QR stickers that connect a physical pump to its record.
  • A repair priority list that turns crowd reports into a concrete plan of which repairs help the most people.

What I learned

How open water data is collected and where it falls short, how to sample a large dataset fairly, how vector and raster maps are combined, and how to design an anonymous public voting system that resists abuse.

What's next

  • Connect the shared Supabase backend so every visitor sees every vote in real time.
  • SMS and USSD reporting for people without smartphones or data.
  • Alerts to the responsible water office when a high-population water point is reported broken.
  • Offline support for field workers in areas with no signal.
  • Partnering with an NGO or district water office to pilot QR stickers on real water points.

Transparency note

The vote counts already on the map are simulated (seeded random counts that loosely follow each point's survey status) to show how the voting layer behaves with many users. Your own votes are added on top of them. Until the shared database is connected, votes and added points are saved in your browser. The Methods tab in the app documents this and all data sources.

Built With

Share this project:

Updates

Submission history