Census Data Portal

An in-depth data visualisation and exploration portal for the first digital Census of Pakistan, enabling stakeholders to query, map, and analyze census data interactively.

Features

  • Detailed dashboards for population demographics, housing, and socio-economic indicators across multiple geographic levels
  • Interactive choropleth and point maps via Leaflet and OpenStreetMaps
  • Tabular and chart-based data exploration with advanced filters by geography and data type
  • Top-down data aggregations at each geographic level
  • ABAC-controlled data access by sensitivity classification
  • Performance optimizations including Redis caching and virtualized rendering for large datasets
  • Exportable data views and visualizations for offline analysis

Tech Stack

ReactTypeScriptViteZustandNode.jsPostgreSQLRedisLeafletMaterial UITailwindHighchartsRechartsOpenStreetMapsSentryGISABAC

Key Insights

  • ABAC with policies allowed for fine-grained access control over different data types and geographic levels
  • Virtualized rendering and map optimizations were necessary to maintain performance with large geospatial datasets
  • Multiple caching strategies built on Redis were essential to achieve low latency for complex queries and map visualizations
  • Hierarchical RBAC with federal/provincial/district tiers required careful policy design upfront