-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcountry-data.js
More file actions
39 lines (36 loc) · 920 Bytes
/
country-data.js
File metadata and controls
39 lines (36 loc) · 920 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// Land area in square kilometres.
const countries = [
{
name: 'United Kingdom',
continent: 'Europe',
population: 67530172,
landArea: 241930,
},
{
name: 'Federated States of Micronesia',
continent: 'Oceania',
population: 113815,
landArea: 702,
},
{
name: 'Bangladesh',
continent: 'Asia',
population: 163046161,
landArea: 130168,
},
{
name: 'Nigeria',
continent: 'Africa',
population: 200963599,
landArea: 910768,
},
{
name: 'Kenya',
continent: 'Africa',
population: 52573973,
landArea: 569140,
},
]
module.exports = countries;
// Population data: https://en.wikipedia.org/wiki/List_of_countries_by_population_(United_Nations)
// Land area data: https://en.wikipedia.org/wiki/List_of_countries_and_dependencies_by_area