Interactive visualization tool for exploring economic and demographic convergence between regions. How long would it take Nigeria to match Ireland's GDP per capita?
Inspired by The Mountain to Climb by Oliver Kim.
cd app
pnpm install
# Initialize database and import World Bank data
pnpm db:init
pnpm data:fetch
pnpm db:import
# Start local server
pnpm start- Country comparisons: Compare any two countries across economic indicators
- Regional analysis: Explore convergence patterns within geographic regions
- Growth projections: Model different growth scenarios with adjustable rates
- Implications panel: See what GDP growth implies for electricity, urbanization, and emissions
- Shareable: Export charts, copy links, generate social cards
The database contains 217 countries with data from 1990-2023:
- GDP per capita (PPP, constant 2021 international $)
- Total population
- Life expectancy at birth
- Internet users (% of population)
- Fertility rate
- Electricity generation by source (solar, wind, nuclear, coal)
- CO2 emissions
Sources: World Bank Open Data, Our World in Data
- Frontend: React 19, TypeScript, Vite
- Styling: Tailwind CSS v4
- Database: Cloudflare D1 (SQLite)
- Hosting: Cloudflare Pages
pnpm dev # Vite dev server (no database)
pnpm start # Full stack with D1
pnpm build # Production build# Create D1 database
npx wrangler d1 create convergence-db
# Update wrangler.toml with database_id, then deploy
pnpm pages:deployMIT
