// Global Population Data - Major Cities Worldwide (2024) // Data sourced from UN World Urbanization Prospects and city statistics const populationData = { "type": "FeatureCollection", "features": [ // Asia - East { "type": "Feature", "geometry": { "type": "Point", "coordinates": [139.6917, 35.6895] }, "properties": { "city": "Tokyo", "country": "Japan", "population": 37400000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [121.4737, 31.2304] }, "properties": { "city": "Shanghai", "country": "China", "population": 27800000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [116.4074, 39.9042] }, "properties": { "city": "Beijing", "country": "China", "population": 21500000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [126.9780, 37.5665] }, "properties": { "city": "Seoul", "country": "South Korea", "population": 25600000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [113.2644, 23.1291] }, "properties": { "city": "Guangzhou", "country": "China", "population": 13500000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [114.1095, 22.3964] }, "properties": { "city": "Shenzhen", "country": "China", "population": 13400000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [135.5023, 34.6937] }, "properties": { "city": "Osaka", "country": "Japan", "population": 19300000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [114.1694, 22.3193] }, "properties": { "city": "Hong Kong", "country": "China", "population": 7500000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [120.9842, 14.5995] }, "properties": { "city": "Manila", "country": "Philippines", "population": 14000000, "year": 2024 } }, // Asia - South { "type": "Feature", "geometry": { "type": "Point", "coordinates": [72.8777, 19.0760] }, "properties": { "city": "Mumbai", "country": "India", "population": 21000000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [77.1025, 28.7041] }, "properties": { "city": "Delhi", "country": "India", "population": 32900000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [77.5946, 12.9716] }, "properties": { "city": "Bangalore", "country": "India", "population": 12800000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [88.3639, 22.5726] }, "properties": { "city": "Kolkata", "country": "India", "population": 15000000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [80.2707, 13.0827] }, "properties": { "city": "Chennai", "country": "India", "population": 11000000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [78.4867, 17.3850] }, "properties": { "city": "Hyderabad", "country": "India", "population": 10500000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [67.0099, 24.8607] }, "properties": { "city": "Karachi", "country": "Pakistan", "population": 16800000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [73.0479, 33.6844] }, "properties": { "city": "Islamabad", "country": "Pakistan", "population": 2200000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [74.3436, 31.5497] }, "properties": { "city": "Lahore", "country": "Pakistan", "population": 13000000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [90.4125, 23.8103] }, "properties": { "city": "Dhaka", "country": "Bangladesh", "population": 22400000, "year": 2024 } }, // Asia - Southeast { "type": "Feature", "geometry": { "type": "Point", "coordinates": [106.8456, -6.2088] }, "properties": { "city": "Jakarta", "country": "Indonesia", "population": 34500000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [100.5018, 13.7563] }, "properties": { "city": "Bangkok", "country": "Thailand", "population": 11000000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [103.8198, 1.3521] }, "properties": { "city": "Singapore", "country": "Singapore", "population": 5900000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [101.6869, 3.1390] }, "properties": { "city": "Kuala Lumpur", "country": "Malaysia", "population": 8600000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [106.8650, -6.1751] }, "properties": { "city": "Bandung", "country": "Indonesia", "population": 7800000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [105.8342, 21.0285] }, "properties": { "city": "Hanoi", "country": "Vietnam", "population": 8400000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [106.6297, 10.8231] }, "properties": { "city": "Ho Chi Minh City", "country": "Vietnam", "population": 9000000, "year": 2024 } }, // Middle East { "type": "Feature", "geometry": { "type": "Point", "coordinates": [51.5074, 25.2854] }, "properties": { "city": "Doha", "country": "Qatar", "population": 2400000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [55.2708, 25.2048] }, "properties": { "city": "Dubai", "country": "UAE", "population": 3500000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [51.4215, 35.6892] }, "properties": { "city": "Tehran", "country": "Iran", "population": 9500000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [44.3661, 33.3152] }, "properties": { "city": "Baghdad", "country": "Iraq", "population": 7700000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [46.7219, 24.7136] }, "properties": { "city": "Riyadh", "country": "Saudi Arabia", "population": 7600000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [35.2433, 31.9454] }, "properties": { "city": "Amman", "country": "Jordan", "population": 4200000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [35.4951, 33.8938] }, "properties": { "city": "Beirut", "country": "Lebanon", "population": 2400000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [35.2137, 31.7683] }, "properties": { "city": "Jerusalem", "country": "Israel", "population": 1400000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [34.7818, 32.0853] }, "properties": { "city": "Tel Aviv", "country": "Israel", "population": 4300000, "year": 2024 } }, // Europe - West { "type": "Feature", "geometry": { "type": "Point", "coordinates": [-0.1278, 51.5074] }, "properties": { "city": "London", "country": "United Kingdom", "population": 9600000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [2.3522, 48.8566] }, "properties": { "city": "Paris", "country": "France", "population": 11000000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [13.4050, 52.5200] }, "properties": { "city": "Berlin", "country": "Germany", "population": 3800000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [-3.7038, 40.4168] }, "properties": { "city": "Madrid", "country": "Spain", "population": 6700000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [2.1734, 41.3851] }, "properties": { "city": "Barcelona", "country": "Spain", "population": 5600000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [12.4964, 41.9028] }, "properties": { "city": "Rome", "country": "Italy", "population": 4300000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [9.1900, 45.4642] }, "properties": { "city": "Milan", "country": "Italy", "population": 3200000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [4.9041, 52.3676] }, "properties": { "city": "Amsterdam", "country": "Netherlands", "population": 2400000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [4.3517, 50.8503] }, "properties": { "city": "Brussels", "country": "Belgium", "population": 2100000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [8.6821, 50.1109] }, "properties": { "city": "Frankfurt", "country": "Germany", "population": 2900000, "year": 2024 } }, // Europe - East { "type": "Feature", "geometry": { "type": "Point", "coordinates": [37.6173, 55.7558] }, "properties": { "city": "Moscow", "country": "Russia", "population": 12600000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [30.5234, 50.4501] }, "properties": { "city": "Kyiv", "country": "Ukraine", "population": 2900000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [21.0122, 52.2297] }, "properties": { "city": "Warsaw", "country": "Poland", "population": 3100000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [19.0402, 47.4979] }, "properties": { "city": "Budapest", "country": "Hungary", "population": 3000000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [23.3219, 42.6977] }, "properties": { "city": "Sofia", "country": "Bulgaria", "population": 1200000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [26.1025, 44.4268] }, "properties": { "city": "Bucharest", "country": "Romania", "population": 2100000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [14.4378, 50.0755] }, "properties": { "city": "Prague", "country": "Czech Republic", "population": 1300000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [30.3141, 59.9343] }, "properties": { "city": "Saint Petersburg", "country": "Russia", "population": 5400000, "year": 2024 } }, // Africa - North { "type": "Feature", "geometry": { "type": "Point", "coordinates": [31.2357, 30.0444] }, "properties": { "city": "Cairo", "country": "Egypt", "population": 21800000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [-6.8498, 34.0209] }, "properties": { "city": "Rabat", "country": "Morocco", "population": 1900000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [3.0588, 36.7538] }, "properties": { "city": "Algiers", "country": "Algeria", "population": 2800000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [10.1815, 36.8065] }, "properties": { "city": "Tunis", "country": "Tunisia", "population": 2400000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [13.1913, 32.8872] }, "properties": { "city": "Tripoli", "country": "Libya", "population": 1200000, "year": 2024 } }, // Africa - Sub-Saharan { "type": "Feature", "geometry": { "type": "Point", "coordinates": [3.3792, 6.5244] }, "properties": { "city": "Lagos", "country": "Nigeria", "population": 15400000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [7.4914, 9.0579] }, "properties": { "city": "Abuja", "country": "Nigeria", "population": 3500000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [36.8219, -1.2921] }, "properties": { "city": "Nairobi", "country": "Kenya", "population": 5100000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [28.0473, -26.2041] }, "properties": { "city": "Johannesburg", "country": "South Africa", "population": 6100000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [18.4241, -33.9249] }, "properties": { "city": "Cape Town", "country": "South Africa", "population": 4700000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [15.2663, -4.3276] }, "properties": { "city": "Kinshasa", "country": "DR Congo", "population": 16300000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [32.6297, -25.9655] }, "properties": { "city": "Maputo", "country": "Mozambique", "population": 1100000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [32.5825, 15.5007] }, "properties": { "city": "Khartoum", "country": "Sudan", "population": 6100000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [38.7469, 9.0054] }, "properties": { "city": "Addis Ababa", "country": "Ethiopia", "population": 5200000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [-1.6163, 6.6745] }, "properties": { "city": "Accra", "country": "Ghana", "population": 2500000, "year": 2024 } }, // North America { "type": "Feature", "geometry": { "type": "Point", "coordinates": [-99.1332, 19.4326] }, "properties": { "city": "Mexico City", "country": "Mexico", "population": 22100000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [-74.0060, 40.7128] }, "properties": { "city": "New York", "country": "USA", "population": 18900000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [-118.2437, 34.0522] }, "properties": { "city": "Los Angeles", "country": "USA", "population": 12500000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [-87.6298, 41.8781] }, "properties": { "city": "Chicago", "country": "USA", "population": 8900000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [-95.3698, 29.7604] }, "properties": { "city": "Houston", "country": "USA", "population": 6400000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [-112.0740, 33.4484] }, "properties": { "city": "Phoenix", "country": "USA", "population": 4900000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [-75.1652, 39.9526] }, "properties": { "city": "Philadelphia", "country": "USA", "population": 5700000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [-79.3832, 43.6532] }, "properties": { "city": "Toronto", "country": "Canada", "population": 6400000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [-123.1207, 49.2827] }, "properties": { "city": "Vancouver", "country": "Canada", "population": 2600000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [-75.6972, 45.4215] }, "properties": { "city": "Ottawa", "country": "Canada", "population": 1400000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [-100.3161, 25.6866] }, "properties": { "city": "Monterrey", "country": "Mexico", "population": 5300000, "year": 2024 } }, // South America { "type": "Feature", "geometry": { "type": "Point", "coordinates": [-46.6333, -23.5505] }, "properties": { "city": "São Paulo", "country": "Brazil", "population": 22600000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [-43.1729, -22.9068] }, "properties": { "city": "Rio de Janeiro", "country": "Brazil", "population": 13700000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [-58.3816, -34.6037] }, "properties": { "city": "Buenos Aires", "country": "Argentina", "population": 15400000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [-77.0428, -12.0464] }, "properties": { "city": "Lima", "country": "Peru", "population": 11200000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [-74.0721, 4.7110] }, "properties": { "city": "Bogotá", "country": "Colombia", "population": 11300000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [-70.6693, -33.4489] }, "properties": { "city": "Santiago", "country": "Chile", "population": 6800000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [-47.8825, -15.7942] }, "properties": { "city": "Brasília", "country": "Brazil", "population": 4700000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [-78.4678, -0.1807] }, "properties": { "city": "Quito", "country": "Ecuador", "population": 2900000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [-56.1645, -34.9011] }, "properties": { "city": "Montevideo", "country": "Uruguay", "population": 1800000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [-57.5759, -25.2637] }, "properties": { "city": "Asunción", "country": "Paraguay", "population": 3300000, "year": 2024 } }, // Oceania { "type": "Feature", "geometry": { "type": "Point", "coordinates": [151.2093, -33.8688] }, "properties": { "city": "Sydney", "country": "Australia", "population": 5400000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [144.9631, -37.8136] }, "properties": { "city": "Melbourne", "country": "Australia", "population": 5200000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [174.7633, -36.8485] }, "properties": { "city": "Auckland", "country": "New Zealand", "population": 1700000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [153.0251, -27.4698] }, "properties": { "city": "Brisbane", "country": "Australia", "population": 2600000, "year": 2024 } }, { "type": "Feature", "geometry": { "type": "Point", "coordinates": [115.8605, -31.9505] }, "properties": { "city": "Perth", "country": "Australia", "population": 2200000, "year": 2024 } } ] };