Logo Lanfrica

amananalytics/naijametrics

Domain:

socioeconomic

Record type:

software
Creator:
ama
Host:
Nigeria's inflation, GDP, exchange rate and job market data, all in one clean dashboard. Live World Bank API + NBS 2024 survey data. Open source. NaijaMetrics NaijaMetrics is a simple, public-facing dashboard that presents key Nigerian economic indicators in a way that is easy to read, quick to load, and always up to date. The goal is not to overwhelm with data, but to surface the few numbers people actually care about and check regularly. It focuses on clarity, reliability, and a clean interface that feels closer to a real product than a typical side project. --- What it does NaijaMetrics pulls together a small set of core macroeconomic indicators and presents them in a live dashboard format. These include: - Inflation rate (annual CPI) - GDP growth rate - USD to Naira exchange rate - Unemployment rate Each metric is displayed as both a current value and a historical trend, so users can quickly understand not just where things are, but how they’ve been moving. The dashboard refreshes automatically at intervals, so the data stays current without requiring manual reloads. --- Why this exists Most publicly available Nigerian macro data is either: - buried in PDFs - spread across multiple sources - delayed or hard to interpret - or presented in a way that is not built for everyday users NaijaMetrics exists to fix that. It acts as a lightweight “economic pulse” for Nigeria. Something you can open quickly and get a sense of direction without digging through reports. --- Data sources The project relies on a mix of public and open data sources: - World Bank API for inflation, GDP, and unemployment - Exchange rate API for USD/NGN Because some of these APIs do not support direct browser requests, NaijaMetrics uses a proxy layer to fetch and normalize the data. It also includes fallback values so the interface never breaks or shows empty states when a request fails. --- How it works The application is entirely frontend-based: - Built with plain HTML, CSS, and JavaScript - Uses Chart.js for data visualization - Fetches data asynchronously using the Fetch API - Uses a proxy (AllOrigins) to bypass …