Skip to content

Repository files navigation

UN Transparency Portal

open.un.org

The UN Transparency Portal makes financial data from across the UN System accessible through interactive visualizations. Explore who contributes, which organizations receive funding, where resources are deployed, and which Sustainable Development Goals they support.

Features

  • UN System
    • Contributors — Treemaps and trends showing government and donor contributions by financing instrument
    • Entities — Spending breakdowns for 48+ UN organizations
    • Countries — Interactive world map with geographic spending data
    • SDGs — Grid visualization of spending by Sustainable Development Goal
  • UN Secretariat
    • Regular-budget contributors — Member State assessments and paid-in-full status
    • Switch between audited-statement expenses and PPB + PKO budget-document expenditure

Data Sources

Source Coverage Description
CEB Financial Statistics 2011–2024 Audited financial data from 48+ UN System organizations
UN Secretariat Spending 2019–2023 Granular breakdown into 150+ departments and missions
Programme Budget Data PPB expenditure 2019–2025; PKO cycles 2022/23–2024/25 PPB hierarchy plus separately assessed mission budgets
Committee on Contributions Regular-budget assessments and honour rolls, 2019–2026 Member State assessments and paid-in-full status
Schedule of Individual Trust Funds 2017–2024 Audited fund statements and contributor schedules
UNINFO 2022–2024 Cooperation Framework data for 127 countries

The two Secretariat treemap sources are deliberately selectable rather than merged. Both source views follow the budget hierarchy and contain separate Programme Budget and Peacekeeping blocks. Their treemap areas share one USD scale, while remaining separate because the datasets use different scopes and accounting bases and peacekeeping follows a July–June fiscal cycle. Funding-source shades remain orthogonal to that hierarchy: support-account expenditure is shown as other assessed funding in the responsible programme-budget section, not as a mission.

Tech Stack

Frontend: Next.js 16, React 19, TypeScript, Tailwind CSS 4, Recharts, UNDP Data Visualization Library (for map component)

Data Processing: Python 3.13+, pandas, requests

Project Structure

src/
├── app/                 # Next.js app router (single-page app)
├── components/          # React components
│   ├── *Treemap.tsx     #   Interactive treemap visualizations
│   ├── *Sidebar.tsx     #   Detail panels for selections
│   ├── *TrendsChart.tsx #   Time series charts
│   ├── charts/          #   Reusable chart primitives
│   └── ui/              #   Base UI components (shadcn)
├── lib/                 # Data loading, entity/SDG/region mappings
├── hooks/               # Custom React hooks
└── types/               # TypeScript interfaces

python/                  # Data pipeline scripts (numbered, run in order)

public/data/             # Processed JSON served to frontend
├── {view}-{year}.json   #   Year-specific data per visualization
├── uninfo-countries/    #   Per-country UNINFO data (127 files)
└── manifest.json        #   Data availability metadata

data/                    # Raw/intermediate data (gitignored)
├── ceb/{raw,clean,fused}/ # CEB data processing stages
└── uninfo/raw/          #   Cached UNINFO API responses

docs/                    # Methodology documentation
└── research/            # Data source research notes

Getting Started

npm install
npm run dev

Open http://localhost:3000

Data Pipeline

Python scripts in python/ fetch and process raw data into JSON. Run them in numbered order with uv run <script>.py.

Documentation

See docs/ for detailed documentation:

License

MIT

About

open.un.org | UN Transparency Portal

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages