Skip to main content
100%

Pakistan Districtwise Population Map

✓ Published0🌍 Public
MMalik Muhammad Ammar
Last edited Feb 2, 2024
Created on May 25, 2022

This map visualizes population data across Pakistan’s districts, coloring each district by its 2017 population density using a linear white-to-red scale. Hovering over a district reveals a tooltip with its name, province, population, and density. The visualization uses D3 v5 with `d3.geoMercator` and `d3.geoPath` to render district boundaries from a TopoJSON file, while the population data comes from a separate JSON file. Zooming is enabled via the `d3.zoom` API, and all geometry is drawn as SVG paths.

AI-generated description
MIT Licensed

Similar vizzes