About
A country-data platform, citation-first.
CountryLens is a public, free reference for country-level data — built so every number you see can be traced, in one click, to the primary source that publishes it.
What this is
A growing dataset of 250 countries × 41 indicators (and counting), with side-by-side comparison, indicator-methodology deep-dives, biodiversity galleries, and use-case-specific rankings layered on top. The dataset is the platform. Tools are applications of the dataset.
Sources are primary-only: the World Bank, UNDP, GBIF, the IUCN Red List, UNEP-WCMC (WDPA), Eurostat, the World Happiness Report, and Köppen-Geiger (Beck et al. 2018). No aggregators-of-aggregators. Every fact ships with the deep-linked URL of the publisher, the year of the reading, and the timestamp our pipeline fetched it.
How we work
A Python pipeline runs on GitHub Actions, fetches from each primary source on its natural cadence (annual for most, quarterly for World Bank), validates the response shape, and writes to a Supabase Postgres database. Every fact row carries thesource_run_idof the ingestion run that produced it; the audit log is queryable.
The web layer (this site) is Next.js, server-rendered, and reads the database read-only. Pages are statically pre-rendered with 24-hour incremental regeneration. There are no third-party tracking scripts.
Who built this
Independent project by Soumyabrata Karmakar. Not affiliated with any of the data publishers we cite. Hosted on Vercel, behind Cloudflare. Source on GitHub.
How to cite us
If you cite a number you found here, please cite the primary source — that's what we want; it's why every fact is hyperlinked. If you cite our framing, comparison, or methodology page, the suggested format is:
CountryLens. (n.d.). [Indicator name]. Retrieved [date], from https://countrylens.com/index-method/[indicator-code]
How to tell us we're wrong
Use the contact form or email Contact us. Include the URL of the page, the value you think is wrong, and (ideally) a link to a fresher source. Corrections that check out get applied within a week and credited in the ingestion log.