Bangladesh poverty MAP
✓ Published2🌍 Public
This map of Bangladesh visualizes district-level poverty rates using a red-to-white linear color scale, with darker shades indicating higher percentages of poor populations. Users can hover over individual districts to view detailed statistics, including the district name, ID, and both extreme and overall poverty levels. Built with D3 v5 and TopoJSON, it renders geographic boundaries via d3.geoPath and a Mercator projection, while supporting zoom and drag interactions through d3.zoom. Poverty data comes from a local salesData.json file, merged with district boundaries from public TopoJSON sources.
AI-generated descriptionBangladesh 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:
- Codepen : http://codepen.io/emon535
- Linkedin : https://www.linkedin.com/in/emon535/
- Github : https://github.com/emon535
MIT Licensed