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.
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:
#F36F21) left borders on section headers, teal top borders on KPI cards, orange hover states on nav linksThe dashboard includes data for 75 countries across 10 key indicators.
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.
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 |
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:
collect_and_process.py β data loading, validation, regional aggregation, correlation analysisraw_indicators.csv β source datadashboard_data.js β generated outputKeeping everything in a single dashboard.html file makes the project:
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.
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

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.
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.