Logo Lanfrica

Susbridge/fpmpn-dashboard

Domain:

agriculturesocioeconomic

Record type:

software
Creator:
Sus
Host:
Nigeria Food Price Monitor — pilot dashboard for WeCollect field-collected food price data # FPMPN Dashboard Nigeria Food Price Monitor — a pilot dashboard built on field-collected price data from WeCollect, turning submissions from field agents into a state-level choropleth with reporting coverage, price-change tracking, and per-category trend charts. Live: susbridge.github.io ## Stack React + TypeScript + Vite, D3 (geo/scale/shape) for the map and charts, Tailwind for styling. No map tile dependency — state boundaries are rendered directly from a simplified geoBoundaries TopoJSON, so there's no API key and no external tile requests. ## Development ```bash npm install npm run dev ``` ## Data pipeline `data-prep/build.mjs` reads the cleaned WeCollect CSV export (external to this repo — see `data-prep/build.mjs` for the expected path) and produces the aggregated, anonymized `src/data/fpmpn.json` the app runs on. Re-run it with: ```bash npm run prep-data ``` ## Deployment Pushes to `main` build and publish automatically via `.github/workflows/deploy.yml` to GitHub Pages.