Interactive dashboard for visualizing NDC transport targets and mitigation measures.
Dashboard URL: https://belentdc.github.io/tracker/
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
│
├── .github/
│ └── workflows/
│ └── update-data.yml ← GitHub Actions config
│
├── index.html ← Dashboard HTML
├── styles.css ← Styles
├── script.js ← 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
- Bar chart showing % of NDCs with transport targets across 3 generations
- Interactive map with country-level data
- Filters: Generation, Region
- Bar chart of top mitigation measure categories
- Heat map showing measure mentions by country
- Filters: Generation, Region
Frontend:
- Pure HTML/CSS/JavaScript
- Chart.js for visualizations
- Leaflet.js for maps
- Fully responsive
Data Processing:
- Python 3.11+
- openpyxl library
- 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