Interactive dashboard for visualizing NDC transport targets and mitigation measures.
Main Dashboard: https://belentdc.github.io/tracker/
Comparison Dashboard: https://belentdc.github.io/tracker/comparison/
Embed in WordPress:
<iframe
src="https://belentdc.github.io/tracker/"
width="100%"
height="900px"
frameborder="0"
style="border: none;">
</iframe>- Replace the Excel file
GIZ-SLOCAT_Transport-Tracker-database.xlsxin thedata/folder - Click "Commit to main"
- Click "Push origin"
- Done!
ndc-tracker/
├── data/
│ ├── GIZ-SLOCAT_Transport-Tracker-database.xlsx ← UPDATE THIS
│ └── processed/
│ ├── data.json ← Auto-generated (main dashboard)
│ └── comparison-data.json ← Auto-generated (comparison dashboard)
│
├── comparison/
│ ├── index.html ← Comparison dashboard HTML
│ ├── script.js ← Comparison dashboard JavaScript
│ └── styles.css ← Comparison dashboard styles
│
├── .github/
│ └── workflows/
│ └── update-data.yml ← GitHub Actions config
│
├── index.html ← Main dashboard HTML
├── styles.css ← Main dashboard styles
├── script.js ← Main dashboard JavaScript
├── update_data.py ← Data processing script
└── README.md ← This file
- You upload a new Excel file to the
data/folder - GitHub Actions automatically detects the change
- Python script processes the Excel and generates
data.json - Dashboard reads the JSON and updates visualizations
- Changes go live on GitHub Pages automatically
Tab 1: Progress in NDC Transport Targets
- Bar chart showing % of NDCs with transport targets across 3 generations
- Interactive map with country-level data (color-coded by target status)
- Filters: Region
- Toggle between chart and map views
- Download PDF
Tab 2: Leading Measures for Decarbonisation
- Bar chart of top mitigation measure categories by number of NDCs
- Heat map showing measure mentions by country
- Filters: Generation (Latest Active / 1st / 2nd / 3rd), Region, Category
- Toggle between chart and map views
- Download PDF
Side-by-side view of a country's NDC commitments across all three generations.
- Country selector — choose any country to load its full NDC history
- Three columns — one per generation (1st: 2015–2019, 2nd: 2020–2024, 3rd: 2024–ongoing)
- Version selector — shown when a country submitted multiple NDCs in the same generation
- Summary bar — counts of mitigation targets, adaptation targets, net zero targets, and measures per NDC
- Mitigation tab:
- Transport mitigation targets (with GHG target, type, conditionality, target year)
- Net zero targets
- Mitigation measures grouped by category (with A-S-I label and transport modes)
- Adaptation tab:
- Transport adaptation targets
- Adaptation measures grouped by category (with transport modes)
- Synchronized scrolling — scrolling one column scrolls all three simultaneously
- Page references link directly to the source NDC document
Frontend:
- Pure HTML/CSS/JavaScript
- Chart.js for visualizations
- Leaflet.js for maps
- Fully responsive
Data Processing:
- Python 3.11+
- openpyxl library
- Generates
data.json(main dashboard) andcomparison-data.json(comparison dashboard) - Runs automatically in GitHub Actions
Hosting:
- GitHub Pages (free)
- Auto-deploys on every update
- HTTPS included
- Check GitHub Actions tab in your repository
- Look for the "Update Dashboard Data" workflow
- If it failed, check the error logs
- Common issues:
- Excel file name changed (must be exact:
GIZ-SLOCAT_Transport-Tracker-database.xlsx) - Excel file corrupted
- Wrong folder (must be in
data/folder)
- Excel file name changed (must be exact:
Visit: https://[your-username].github.io/ndc-tracker/data/processed/data.json
You should see the JSON data. Check the modification date.
- Clear browser cache (Ctrl+Shift+R or Cmd+Shift+R)
- Wait 2-3 minutes after uploading (GitHub Pages takes time to deploy)
Data: GIZ-SLOCAT Transport Tracker Database
Dashboard: Custom implementation for GIZ/SLOCAT
Data Source: GIZ-SLOCAT Partnership Dashboard: Interactive visualization platform for NDC tracking
Last updated: Auto-generated on each data update