unfpa-cse-dashboard

UNFPA Adolescent SRH Dashboard

Live Demo Data Source License

An interactive data visualization dashboard for monitoring adolescent sexual and reproductive health indicators across countries worldwide. Built with vanilla HTML/CSS/JavaScript β€” no build tools required.

View Live Dashboard


πŸ“‹ Table of Contents


Overview

This dashboard visualizes 75 countries across 10 key SRH indicators, including adolescent birth rates, contraceptive prevalence, HIV trends, and comprehensive sexuality education coverage. It is designed as a demonstration project for UNFPA’s Comprehensive Sexuality Education (CSE) programme.

Key highlights:


Features

Data Visualization

Interactive Features

Design


Data

The dashboard includes data for 75 countries across 10 key indicators.

Data Collection Process

Indicator values were collected from the following authoritative sources and compiled into a structured JavaScript dataset embedded within the dashboard:

Indicator Primary Source Year
Adolescent Birth Rate (15-19) WHO Global Health Observatory 2015–2022
Adolescent Birth Rate (10-14) UNFPA State of World Population 2020–2022
Contraceptive Prevalence WHO / DHS Program 2015–2022
Unmet Need for Family Planning WHO Global Health Observatory 2015–2022
HIV Prevalence (women 15-24) UNAIDS 2022
Comprehensive Sexuality Education UNESCO / UNFPA 2021
Child Marriage (married before 18) UNICEF / UNFPA 2022
Maternal Mortality Ratio WHO / World Bank 2020

Data Sources:

Values represent the most recent available estimates and are intended for informational and educational purposes.


Tech Stack & Tools

This dashboard is built entirely with frontend web technologies β€” no Python backend, no build tools, zero dependencies to install.

Component Tool / Library Purpose
Charts & Maps Plotly.js Interactive choropleth maps, line charts, bar charts, scatter plots, and radar charts
Icons Lucide Consistent, lightweight SVG iconography
Typography Google Fonts β€” Inter Modern, readable UI typography
Styling Vanilla CSS (CSS Variables, Flexbox, Grid, Animations) Responsive layout, hover effects, scroll animations
Interactivity Vanilla JavaScript (ES6+) Data filtering, search, chart updates, export functionality
Hosting GitHub Pages Free, automatic deployment from Git repository

Data Pipeline (Python)

The dashboard data is produced by a Python processing pipeline:

raw CSV data β†’ Python cleaning/analysis β†’ JavaScript output β†’ embedded in dashboard

See the data/ folder for:

Why no build tools?

Keeping everything in a single dashboard.html file makes the project:


Quick Start

No installation required β€” just open the HTML file in any modern browser:

# Clone the repo
git clone https://github.com/HaijunChe/unfpa-cse-dashboard.git

# Open in browser
cd unfpa-cse-dashboard
open dashboard.html        # macOS
start dashboard.html       # Windows
xdg-open dashboard.html    # Linux

Or simply visit the live demo.


Project Structure

unfpa-cse-dashboard/
β”œβ”€β”€ dashboard.html              # Complete single-file dashboard (~5,700 lines)
β”‚                               # β€” data, styles, JS, and visualizations inline
β”œβ”€β”€ data/
β”‚   β”œβ”€β”€ collect_and_process.py  # Python data pipeline (load β†’ clean β†’ analyze β†’ output)
β”‚   β”œβ”€β”€ raw_indicators.csv      # Source indicator data
β”‚   β”œβ”€β”€ dashboard_data.js       # Generated JavaScript output (from Python)
β”‚   └── README.md               # Data pipeline documentation
β”œβ”€β”€ README.md                   # Project documentation
└── LICENSE                     # MIT License + data usage note

Screenshots

Dashboard Overview

UNFPA CSE Dashboard Screenshot

The dashboard features a UNFPA-branded navigation bar, cinematic hero section with gradient background, four KPI stat cards, interactive world map with metric switching, country ranking bar chart, trends over time line chart, relationship analysis scatter plot, and regional comparison grouped bar chart β€” all styled with UNFPA teal and orange brand colors.


License

This project is provided for educational and informational purposes. Data values are estimates sourced from publicly available WHO, UNFPA, and UNAIDS publications.


Built with care for better data-driven conversations about adolescent sexual and reproductive health.

Code: MIT License β€” see LICENSE for details. You are free to use, modify, and distribute the dashboard code.

Data: The included health data is sourced from WHO, UNFPA, UNAIDS, and World Bank and is provided for informational and educational purposes. Please comply with each data provider’s terms of use when reusing the data.