Skip to main content
100%

Fork of Bangladesh poverty MAP

✓ Published0🌍 Public
MMinh Nguyen
Last edited Jun 11, 2021
Created on Jun 11, 2021

A choropleth map of Bangladesh displays district-level poverty rates, showing the percentage of the population in poor and extreme poverty conditions for each division through a white-to-red color scale. Hovering over a district reveals a tooltip with the city name, ID, and specific poverty statistics. Built with D3 v5, it uses d3.json to load TopoJSON geographic data and sales data, d3.geoMercator and d3.geoPath for map projection and rendering, and d3.zoom for pan and zoom interactions on the SVG output.

AI-generated description

Bangladesh map interaction with sales data

The problem is to visualize Poverty Data on Bangladesh map.

What I have done:

  • Parsed topoJson Data to generate Map with geoJson from D3.
  • Parsed sales data and maped with each District
  • Constructed String for Hover data
  • Applied Zoom and Drag feature as required

TopoJSON Data for Bangladesh:

https://raw.githubusercontent.com/techslides/D3-Maps/master/data/world/country/Bangladesh.topo.json

Data Source :https://github.com/emon535/bangladesh-geojson/blob/master/povertydataBD.json

Author Profiles:

MIT Licensed

Similar vizzes