Atlas

About

World statistics by country — population, geography, economy and society, every figure with its source.

Data sources & licenses

SourceUsed forLicense
World Bank Open DataStatistical indicators (population, GDP, life expectancy, …)CC BY-4.0
mledoze/countriesCountry basics (names, capitals, languages, currencies, borders)ODbL 1.0
Flagpedia (flagcdn.com)Flag imagesPublic domain
Natural EarthCountry boundaries (maps on country pages)Public domain

Public API

Read-only, no authentication, CORS enabled, cached for one hour.

curl https://atlas.mori22.com/api/countries/jp

Tech stack

Bun, Hono (server-side rendering with hono/jsx), Cloudflare Workers with a D1 database, Vite, Tailwind CSS v4, MapLibre GL JS, Biome and Vitest. Pages are fully server-rendered; small scripts add search, sorting, maps and the comparison list on top, so everything stays readable without JavaScript. Data is fetched by build scripts, compiled into D1, and served read-only.

Motivation

Country statistics are easy to find but hard to cite: numbers float around the web detached from their source and year. Atlas keeps every figure attached to where it came from, so a quick lookup can become a proper citation. It is also the first app built end-to-end with a reusable web-app template, and serves as its working proof.

Colophon

Atlas runs on Cloudflare Workers + D1, server-side rendered with Hono. Statistics are yearly figures refreshed from the sources every few months; each value carries the year it refers to. Base map tiles by OpenFreeMap, © OpenStreetMap contributors.