Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
geography-graph
[
{
"name": "Russia",
"population": 144526636,
"area": 17098242,
"capital": "Moscow",
"neighbors": ["Azerbaijan", "Belarus", "Estonia", "Finland", "Georgia", "Kazakhstan", "Latvia", "Lithuania", "Norway", "Poland", "Ukraine"]
},
{
"name": "Germany",
"population": 82800000,
"area": 357022,
"capital": "Berlin",
"neighbors": ["Austria", "Belgium", "Czech Republic", "Denmark", "France", "Luxembourg", "Netherlands", "Poland", "Switzerland"]
},
{
"name": "Turkey",
"population": 80810525,
"area": 783562,
"capital": "Ankara",
"neighbors": ["Armenia", "Azerbaijan", "Bulgaria", "Georgia", "Greece"]
},
{
"name": "France",
"population": 67348000,
"area": 643427,
"capital": "Paris",
"neighbors": ["Andorra", "Belgium", "Germany", "Italy", "Luxembourg", "Monaco", "Spain", "Switzerland"]
},
{
"name": "United Kingdom",
"population": 66040229,
"area": 243610,
"capital": "London",
"neighbors": ["Ireland"]
},
{
"name": "Italy",
"population": 60494118,
"area": 301340,
"capital": "Rome",
"neighbors": ["Austria", "San Marino", "Slovenia", "Switzerland", "Vatican City"]
},
{
"name": "Spain",
"population": 47720291,
"area": 505370,
"capital": "Madrid",
"neighbors": ["Andorra", "France", "Portugal"]
},
{
"name": "Ukraine",
"population": 44291413,
"area": 603550,
"capital": "Kiev",
"neighbors": ["Belarus", "Hungary", "Moldova", "Poland", "Romania", "Russia", "Slovakia"]
},
{
"name": "Poland",
"population": 38433600,
"area": 312685,
"capital": "Warsaw",
"neighbors": ["Belarus", "Czech Republic", "Germany", "Lithuania", "Russia", "Slovakia", "Ukraine"]
},
{
"name": "Romania",
"population": 19622000,
"area": 238391,
"capital": "Bucharest",
"neighbors": ["Bulgaria", "Hungary", "Moldova", "Serbia", "Ukraine"]
},
{
"name": "Kazakhstan",
"population": 18311700,
"area": 2724900,
"capital": "Nur-Sultan",
"neighbors": ["Russia"]
},
{
"name": "Netherlands",
"population": 17272990,
"area": 41543,
"capital": "Amsterdam",
"neighbors": ["Belgium", "Germany"]
},
{
"name": "Belgium",
"population": 11502204,
"area": 30528,
"capital": "Brussels",
"neighbors": ["France", "Germany", "Luxembourg", "Netherlands"]
},
{
"name": "Greece",
"population": 10816286,
"area": 131957,
"capital": "Athens",
"neighbors": ["Albania", "Bulgaria", "Turkey", "North Macedonia"]
},
{
"name": "Czech Republic",
"population": 10625449,
"area": 78867,
"capital": "Prague",
"neighbors": ["Austria", "Germany", "Poland", "Slovakia"]
},
{
"name": "Portugal",
"population": 10291196,
"area": 92090,
"capital": "Lisbon",
"neighbors": ["Spain"]
},
{
"name": "Sweden",
"population": 10221988,
"area": 450295,
"capital": "Stockholm",
"neighbors": ["Finland", "Norway"]
},
{
"name": "Azerbaijan",
"population": 9898085,
"area": 86600,
"capital": "Baku",
"neighbors": ["Armenia", "Georgia", "Russia", "Turkey"]
},
{
"name": "Hungary",
"population": 9771000,
"area": 93028,
"capital": "Budapest",
"neighbors": ["Austria", "Croatia", "Romania", "Serbia", "Slovakia", "Slovenia", "Ukraine"]
},
{
"name": "Belarus",
"population": 9491800,
"area": 207600,
"capital": "Minsk",
"neighbors": ["Latvia", "Lithuania", "Poland", "Russia", "Ukraine"]
},
{
"name": "Austria",
"population": 8857960,
"area": 83871,
"capital": "Vienna",
"neighbors": ["Czech Republic", "Germany", "Hungary", "Italy", "Liechtenstein", "Slovakia", "Slovenia", "Switzerland"]
},
{
"name": "Switzerland",
"population": 8544034,
"area": 41277,
"capital": "Bern",
"neighbors": ["Austria", "France", "Italy", "Liechtenstein", "Germany"]
},
{
"name": "Bulgaria",
"population": 7050034,
"area": 110879,
"capital": "Sofia",
"neighbors": ["Greece", "North Macedonia", "Romania", "Serbia", "Turkey"]
},
{
"name": "Serbia",
"population": 7001444,
"area": 88361,
"capital": "Belgrade",
"neighbors": ["Bosnia and Herzegovina", "Bulgaria", "Croatia", "Hungary", "Kosovo", "Montenegro", "North Macedonia", "Romania"]
},
{
"name": "Denmark",
"population": 5806015,
"area": 2210000,
"capital": "Copenhagen",
"neighbors": ["Germany"]
},
{
"name": "Finland",
"population": 5519463,
"area": 338145,
"capital": "Helsinki",
"neighbors": ["Norway", "Sweden", "Russia"]
},
{
"name": "Slovakia",
"population": 5445087,
"area": 49035,
"capital": "Bratislava",
"neighbors": ["Austria", "Czech Republic", "Hungary", "Poland", "Ukraine"]
},
{
"name": "Norway",
"population": 5323933,
"area": 323802,
"capital": "Oslo",
"neighbors": ["Finland", "Sweden", "Russia"]
},
{
"name": "Ireland",
"population": 4857000,
"area": 70273,
"capital": "Dublin",
"neighbors": ["United Kingdom"]
},
{
"name": "Croatia",
"population": 4105493,
"area": 56594,
"capital": "Zagreb",
"neighbors": ["Bosnia and Herzegovina", "Hungary", "Montenegro", "Serbia", "Slovenia"]
},
{
"name": "Georgia",
"population": 3729600,
"area": 69700,
"capital": "Tbilisi",
"neighbors": ["Armenia", "Azerbaijan", "Russia", "Turkey"]
},
{
"name": "Bosnia and Herzegovina",
"population": 3511372,
"area": 51197,
"capital": "Sarajevo",
"neighbors": ["Croatia", "Montenegro", "Serbia"]
},
{
"name": "Armenia",
"population": 2925000,
"area": 29743,
"capital": "Yerevan",
"neighbors": ["Azerbaijan", "Georgia", "Turkey"]
},
{
"name": "Albania",
"population": 2887000,
"area": 28748,
"capital": "Tirana",
"neighbors": ["Greece", "Kosovo", "North Macedonia", "Montenegro"]
},
{
"name": "Lithuania",
"population": 2797000,
"area": 65300,
"capital": "Vilnius",
"neighbors": ["Belarus", "Latvia", "Poland", "Russia"]
},
{
"name": "Moldova",
"population": 3350900,
"area": 33851,
"capital": "Chișinău",
"neighbors": ["Romania", "Ukraine"]
},
{
"name": "North Macedonia",
"population": 2075301,
"area": 25713,
"capital": "Skopje",
"neighbors": ["Albania", "Bulgaria", "Greece", "Kosovo", "Serbia"]
},
{
"name": "Slovenia",
"population": 2070050,
"area": 20273,
"capital": "Ljubljana",
"neighbors": ["Austria", "Croatia", "Italy", "Hungary"]
},
{
"name": "Latvia",
"population": 1934379,
"area": 64589,
"capital": "Riga",
"neighbors": ["Belarus", "Estonia", "Lithuania", "Russia"]
},
{
"name": "Kosovo",
"population": 1836529,
"area": 10887,
"capital": "Pristina",
"neighbors": ["Albania", "Montenegro", "North Macedonia", "Serbia"]
},
{
"name": "Estonia",
"population": 1315000,
"area": 45228,
"capital": "Tallinn",
"neighbors": ["Latvia", "Russia"]
},
{
"name": "Cyprus",
"population": 1172458,
"area": 9251,
"capital": "Nicosia",
"neighbors": []
},
{
"name": "Montenegro",
"population": 642550,
"area": 13812,
"capital": "Podgorica",
"neighbors": ["Albania", "Bosnia and Herzegovina", "Croatia", "Kosovo", "Serbia"]
},
{
"name": "Luxembourg",
"population": 602000,
"area": 2586,
"capital": "Luxembourg",
"neighbors": ["Belgium", "France", "Germany"]
},
{
"name": "Malta",
"population": 475700,
"area": 316,
"capital": "Valletta",
"neighbors": []
},
{
"name": "Iceland",
"population": 350710,
"area": 103000,
"capital": "Reykjavik",
"neighbors": []
},
{
"name": "Andorra",
"population": 78000,
"area": 468,
"capital": "Andorra la Vella",
"neighbors": ["France", "Spain"]
},
{
"name": "Liechtenstein",
"population": 38111,
"area": 160,
"capital": "Vaduz",
"neighbors": ["Austria", "Switzerland"]
},
{
"name": "Monaco",
"population": 37000,
"area": 2,
"capital": "Monaco",
"neighbors": ["France"]
},
{
"name": "San Marino",
"population": 32742,
"area": 61,
"capital": "San Marino",
"neighbors": ["Italy"]
},
{
"name": "Vatican City",
"population": 842,
"area": 0.44,
"capital": "Vatican City",
"neighbors": ["Italy"]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment