diff --git a/data_visualisation/Readme.md b/data_visualisation/Readme.md new file mode 100644 index 00000000..e2a43868 --- /dev/null +++ b/data_visualisation/Readme.md @@ -0,0 +1,22 @@ +# Data App + +This app is used to showcase and edit tabular data live in an app. + +## Use the app + +There are 4 custom database Models defined here `Customer`, `Cereals`, `Covid` and `Countries`. Three of these come with datasets that load data automatically into the table when the app is loaded and the last is an empty table, where the user can add data from scratch. For all of these tables the user can add, edit or delete data and this will update the data in the database itself. The data file types currently supported are `csv`, `xlsx` and `json`, but it is very easy to extend this to any data type by just writing your own `loading_data` function inside of the `data_loading.py` file. There is also in-built sorting based on any column heading. + + +To use the app, set the `MODEL` parameter to the table of your choice defined in the `models.py` file. If you wish to load data set the `data_file_path` parameter. + + +## Add your own data file + + +You can add your own data by creating an `rx.Model` class in the `models.py` file. It is critical that the names of the `keys` in the model match up EXACTLY to the names of the columns in your data source. Here are some examples: + +* Heading: `Name`, key must be `Name` and not `name` +* Heading: `State/UT`, this name must be changed to something that can be written in python such as `state`. +* Heading: `people count`, heading must be changed to be `people_count` + +You can load other data types by defining your own `loading_data` function inside of the `data_loading.py` file. \ No newline at end of file diff --git a/data_visualisation/cereal.csv b/data_visualisation/data_sources/cereal.csv similarity index 100% rename from data_visualisation/cereal.csv rename to data_visualisation/data_sources/cereal.csv diff --git a/data_visualisation/data_sources/covid_data.xlsx b/data_visualisation/data_sources/covid_data.xlsx new file mode 100644 index 00000000..a57385f9 Binary files /dev/null and b/data_visualisation/data_sources/covid_data.xlsx differ diff --git a/data_visualisation/data_sources/world_data.json b/data_visualisation/data_sources/world_data.json new file mode 100644 index 00000000..519600ed --- /dev/null +++ b/data_visualisation/data_sources/world_data.json @@ -0,0 +1,4916 @@ +[ + { + "place": 356, + "pop1980": 696828385, + "pop2000": 1059633675, + "pop2010": 1240613620, + "pop2022": 1417173173, + "pop2023": 1428627663, + "pop2030": 1514994080, + "pop2050": 1670490596, + "country": "India", + "area": 3287590, + "landAreaKm": 2973190, + "cca2": "IN", + "cca3": "IND", + "netChange": 0.4184, + "growthRate": 0.0081, + "worldPercentage": 0.1785, + "density": 480.5033, + "densityMi": 1244.5036, + "rank": 1 + }, + { + "place": 156, + "pop1980": 982372466, + "pop2000": 1264099069, + "pop2010": 1348191368, + "pop2022": 1425887337, + "pop2023": 1425671352, + "pop2030": 1415605906, + "pop2050": 1312636325, + "country": "China", + "area": 9706961, + "landAreaKm": 9424702.9, + "cca2": "CN", + "cca3": "CHN", + "netChange": -0.0113, + "growthRate": -0.0002, + "worldPercentage": 0.1781, + "density": 151.2696, + "densityMi": 391.7884, + "rank": 2 + }, + { + "place": 840, + "pop1980": 223140018, + "pop2000": 282398554, + "pop2010": 311182845, + "pop2022": 338289857, + "pop2023": 339996563, + "pop2030": 352162301, + "pop2050": 375391963, + "country": "United States", + "area": 9372610, + "landAreaKm": 9147420, + "cca2": "US", + "cca3": "USA", + "netChange": 0.0581, + "growthRate": 0.005, + "worldPercentage": 0.0425, + "density": 37.1686, + "densityMi": 96.2666, + "rank": 3 + }, + { + "place": 360, + "pop1980": 148177096, + "pop2000": 214072421, + "pop2010": 244016173, + "pop2022": 275501339, + "pop2023": 277534122, + "pop2030": 292150100, + "pop2050": 317225213, + "country": "Indonesia", + "area": 1904569, + "landAreaKm": 1877519, + "cca2": "ID", + "cca3": "IDN", + "netChange": 0.0727, + "growthRate": 0.0074, + "worldPercentage": 0.0347, + "density": 147.8196, + "densityMi": 382.8528, + "rank": 4 + }, + { + "place": 586, + "pop1980": 80624057, + "pop2000": 154369924, + "pop2010": 194454498, + "pop2022": 235824862, + "pop2023": 240485658, + "pop2030": 274029836, + "pop2050": 367808468, + "country": "Pakistan", + "area": 881912, + "landAreaKm": 770880, + "cca2": "PK", + "cca3": "PAK", + "netChange": 0.1495, + "growthRate": 0.0198, + "worldPercentage": 0.03, + "density": 311.9625, + "densityMi": 807.9829, + "rank": 5 + }, + { + "place": 566, + "pop1980": 72951439, + "pop2000": 122851984, + "pop2010": 160952853, + "pop2022": 218541212, + "pop2023": 223804632, + "pop2030": 262580425.99999997, + "pop2050": 377459883, + "country": "Nigeria", + "area": 923768, + "landAreaKm": 910770, + "cca2": "NG", + "cca3": "NGA", + "netChange": 0.168, + "growthRate": 0.0241, + "worldPercentage": 0.028, + "density": 245.7312, + "densityMi": 636.4439, + "rank": 6 + }, + { + "place": 76, + "pop1980": 122288383, + "pop2000": 175873720, + "pop2010": 196353492, + "pop2022": 215313498, + "pop2023": 216422446, + "pop2030": 223908968, + "pop2050": 230885725, + "country": "Brazil", + "area": 8515767, + "landAreaKm": 8358140, + "cca2": "BR", + "cca3": "BRA", + "netChange": 0.0393, + "growthRate": 0.0052, + "worldPercentage": 0.027, + "density": 25.8936, + "densityMi": 67.0645, + "rank": 7 + }, + { + "place": 50, + "pop1980": 83929765, + "pop2000": 129193327, + "pop2010": 148391139, + "pop2022": 171186372, + "pop2023": 172954319, + "pop2030": 184424144, + "pop2050": 203904900, + "country": "Bangladesh", + "area": 147570, + "landAreaKm": 130170, + "cca2": "BD", + "cca3": "BGD", + "netChange": 0.0557, + "growthRate": 0.0103, + "worldPercentage": 0.0216, + "density": 1328.6803, + "densityMi": 3441.2821, + "rank": 8 + }, + { + "place": 643, + "pop1980": 138257420, + "pop2000": 146844839, + "pop2010": 143242599, + "pop2022": 144713314, + "pop2023": 144444359, + "pop2030": 141432741, + "pop2050": 133133035, + "country": "Russia", + "area": 17098242, + "landAreaKm": 16376870, + "cca2": "RU", + "cca3": "RUS", + "netChange": -0.0158, + "growthRate": -0.0019, + "worldPercentage": 0.018, + "density": 8.82, + "densityMi": 22.8439, + "rank": 9 + }, + { + "place": 484, + "pop1980": 67705186, + "pop2000": 97873442, + "pop2010": 112532401, + "pop2022": 127504125, + "pop2023": 128455567, + "pop2030": 134534107, + "pop2050": 143772364, + "country": "Mexico", + "area": 1964375, + "landAreaKm": 1943950, + "cca2": "MX", + "cca3": "MEX", + "netChange": 0.0299, + "growthRate": 0.0075, + "worldPercentage": 0.016, + "density": 66.0797, + "densityMi": 171.1463, + "rank": 10 + }, + { + "place": 231, + "pop1980": 34945469, + "pop2000": 67031867, + "pop2010": 89237791, + "pop2022": 123379924, + "pop2023": 126527060, + "pop2030": 149296378, + "pop2050": 214812309, + "country": "Ethiopia", + "area": 1104300, + "landAreaKm": 1128571.3, + "cca2": "ET", + "cca3": "ETH", + "netChange": 0.1008, + "growthRate": 0.0255, + "worldPercentage": 0.0158, + "density": 112.1126, + "densityMi": 290.3716, + "rank": 11 + }, + { + "place": 392, + "pop1980": 117624196, + "pop2000": 126803861, + "pop2010": 128105431, + "pop2022": 123951692, + "pop2023": 123294513, + "pop2030": 118514802, + "pop2050": 103784357, + "country": "Japan", + "area": 377930, + "landAreaKm": 364500, + "cca2": "JP", + "cca3": "JPN", + "netChange": -0.0209, + "growthRate": -0.0053, + "worldPercentage": 0.0154, + "density": 338.2566, + "densityMi": 876.0845, + "rank": 12 + }, + { + "place": 608, + "pop1980": 48419546, + "pop2000": 77958223, + "pop2010": 94636700, + "pop2022": 115559009, + "pop2023": 117337368, + "pop2030": 129453321, + "pop2050": 157891622, + "country": "Philippines", + "area": 342353, + "landAreaKm": 298170, + "cca2": "PH", + "cca3": "PHL", + "netChange": 0.0561, + "growthRate": 0.0154, + "worldPercentage": 0.0147, + "density": 393.5251, + "densityMi": 1019.2299, + "rank": 13 + }, + { + "place": 818, + "pop1980": 43748556, + "pop2000": 71371371, + "pop2010": 87252413, + "pop2022": 110990103, + "pop2023": 112716598, + "pop2030": 125151725, + "pop2050": 160339889, + "country": "Egypt", + "area": 1002450, + "landAreaKm": 995450, + "cca2": "EG", + "cca3": "EGY", + "netChange": 0.0551, + "growthRate": 0.0156, + "worldPercentage": 0.0141, + "density": 113.2318, + "densityMi": 293.2704, + "rank": 14 + }, + { + "place": 180, + "pop1980": 26708686, + "pop2000": 48616317, + "pop2010": 66391257, + "pop2022": 99010212, + "pop2023": 102262808, + "pop2030": 127582053, + "pop2050": 217494003, + "country": "DR Congo", + "area": 2344858, + "landAreaKm": 2267050, + "cca2": "CD", + "cca3": "COD", + "netChange": 0.105, + "growthRate": 0.0329, + "worldPercentage": 0.0128, + "density": 45.1083, + "densityMi": 116.8305, + "rank": 15 + }, + { + "place": 704, + "pop1980": 52968270, + "pop2000": 79001142, + "pop2010": 87411012, + "pop2022": 98186856, + "pop2023": 98858950, + "pop2030": 102699905, + "pop2050": 107012939, + "country": "Vietnam", + "area": 331212, + "landAreaKm": 313429, + "cca2": "VN", + "cca3": "VNM", + "netChange": 0.0208, + "growthRate": 0.0068, + "worldPercentage": 0.0123, + "density": 315.411, + "densityMi": 816.9145, + "rank": 16 + }, + { + "place": 364, + "pop1980": 38520664, + "pop2000": 65544383, + "pop2010": 75373855, + "pop2022": 88550570, + "pop2023": 89172767, + "pop2030": 92921017, + "pop2050": 99007204, + "country": "Iran", + "area": 1648195, + "landAreaKm": 1622500, + "cca2": "IR", + "cca3": "IRN", + "netChange": 0.0208, + "growthRate": 0.007, + "worldPercentage": 0.0111, + "density": 54.9601, + "densityMi": 142.3467, + "rank": 17 + }, + { + "place": 792, + "pop1980": 44089069, + "pop2000": 64113547, + "pop2010": 73195345, + "pop2022": 85341241, + "pop2023": 85816199, + "pop2030": 88879698, + "pop2050": 95829258, + "country": "Turkey", + "area": 783562, + "landAreaKm": 783562, + "cca2": "TR", + "cca3": "TUR", + "netChange": 0.0143, + "growthRate": 0.0056, + "worldPercentage": 0.0107, + "density": 109.5206, + "densityMi": 283.6584, + "rank": 18 + }, + { + "place": 276, + "pop1980": 77786703, + "pop2000": 81551677, + "pop2010": 81325090, + "pop2022": 83369843, + "pop2023": 83294633, + "pop2030": 82762675, + "pop2050": 78932228, + "country": "Germany", + "area": 357114, + "landAreaKm": 349390, + "cca2": "DE", + "cca3": "DEU", + "netChange": -0.0012, + "growthRate": -0.0009, + "worldPercentage": 0.0104, + "density": 238.4002, + "densityMi": 617.4564, + "rank": 19 + }, + { + "place": 764, + "pop1980": 45737753, + "pop2000": 63066603, + "pop2010": 68270489, + "pop2022": 71697030, + "pop2023": 71801279, + "pop2030": 72060018, + "pop2050": 67880083, + "country": "Thailand", + "area": 513120, + "landAreaKm": 510890, + "cca2": "TH", + "cca3": "THA", + "netChange": 0.003, + "growthRate": 0.0015, + "worldPercentage": 0.009, + "density": 140.5416, + "densityMi": 364.0026, + "rank": 20 + }, + { + "place": 826, + "pop1980": 56326328, + "pop2000": 58850043, + "pop2010": 62760039, + "pop2022": 67508936, + "pop2023": 67736802, + "pop2030": 69175770, + "pop2050": 71684966, + "country": "United Kingdom", + "area": 242900, + "landAreaKm": 241930, + "cca2": "GB", + "cca3": "GBR", + "netChange": 0.0072, + "growthRate": 0.0034, + "worldPercentage": 0.0085, + "density": 279.9851, + "densityMi": 725.1615, + "rank": 21 + }, + { + "place": 834, + "pop1980": 19297659, + "pop2000": 34463704, + "pop2010": 45110527, + "pop2022": 65497748, + "pop2023": 67438106, + "pop2030": 81885304, + "pop2050": 129931520, + "country": "Tanzania", + "area": 945087, + "landAreaKm": 885800, + "cca2": "TZ", + "cca3": "TZA", + "netChange": 0.0622, + "growthRate": 0.0296, + "worldPercentage": 0.0084, + "density": 76.1324, + "densityMi": 197.183, + "rank": 22 + }, + { + "place": 250, + "pop1980": 53713830, + "pop2000": 58665453, + "pop2010": 62444567, + "pop2022": 64626628, + "pop2023": 64756584, + "pop2030": 65543452.00000001, + "pop2050": 65827072, + "country": "France", + "area": 551695, + "landAreaKm": 547557, + "cca2": "FR", + "cca3": "FRA", + "netChange": 0.004, + "growthRate": 0.002, + "worldPercentage": 0.0081, + "density": 118.2646, + "densityMi": 306.3052, + "rank": 23 + }, + { + "place": 710, + "pop1980": 29463549, + "pop2000": 46813266, + "pop2010": 51784921, + "pop2022": 59893885, + "pop2023": 60414495, + "pop2030": 64659278, + "pop2050": 73529753, + "country": "South Africa", + "area": 1221037, + "landAreaKm": 1213090, + "cca2": "ZA", + "cca3": "ZAF", + "netChange": 0.0173, + "growthRate": 0.0087, + "worldPercentage": 0.0075, + "density": 49.8022, + "densityMi": 128.9876, + "rank": 24 + }, + { + "place": 380, + "pop1980": 56329482, + "pop2000": 56966397, + "pop2010": 59822450, + "pop2022": 59037474, + "pop2023": 58870762, + "pop2030": 57544258, + "pop2050": 52250484, + "country": "Italy", + "area": 301336, + "landAreaKm": 295717, + "cca2": "IT", + "cca3": "ITA", + "netChange": -0.0054, + "growthRate": -0.0028, + "worldPercentage": 0.0074, + "density": 199.078, + "densityMi": 515.6121, + "rank": 25 + }, + { + "place": 404, + "pop1980": 16187124, + "pop2000": 30851606, + "pop2010": 41517895, + "pop2022": 54027487, + "pop2023": 55100586, + "pop2030": 63103942, + "pop2050": 85211739, + "country": "Kenya", + "area": 580367, + "landAreaKm": 569140, + "cca2": "KE", + "cca3": "KEN", + "netChange": 0.0346, + "growthRate": 0.0199, + "worldPercentage": 0.0069, + "density": 96.8138, + "densityMi": 250.7477, + "rank": 26 + }, + { + "place": 104, + "pop1980": 33465781.000000004, + "pop2000": 45538332, + "pop2010": 49390988, + "pop2022": 54179306, + "pop2023": 54577997, + "pop2030": 56987625, + "pop2050": 59929399, + "country": "Myanmar", + "area": 676578, + "landAreaKm": 652670, + "cca2": "MM", + "cca3": "MMR", + "netChange": 0.0125, + "growthRate": 0.0074, + "worldPercentage": 0.0068, + "density": 83.6227, + "densityMi": 216.5827, + "rank": 27 + }, + { + "place": 170, + "pop1980": 26176195, + "pop2000": 39215135, + "pop2010": 44816108, + "pop2022": 51874024, + "pop2023": 52085168, + "pop2030": 54129764, + "pop2050": 56987651, + "country": "Colombia", + "area": 1141748, + "landAreaKm": 1109500, + "cca2": "CO", + "cca3": "COL", + "netChange": 0.008, + "growthRate": 0.0041, + "worldPercentage": 0.0065, + "density": 46.9447, + "densityMi": 121.5868, + "rank": 28 + }, + { + "place": 410, + "pop1980": 38170501, + "pop2000": 46788591, + "pop2010": 48813042, + "pop2022": 51815810, + "pop2023": 51784059, + "pop2030": 51290214, + "pop2050": 45770874, + "country": "South Korea", + "area": 100210, + "landAreaKm": 97600, + "cca2": "KR", + "cca3": "KOR", + "netChange": -0.0012, + "growthRate": -0.0006, + "worldPercentage": 0.0065, + "density": 530.5744, + "densityMi": 1374.1876, + "rank": 29 + }, + { + "place": 800, + "pop1980": 13284026, + "pop2000": 24020697, + "pop2010": 32341728, + "pop2022": 47249585, + "pop2023": 48582334, + "pop2030": 58380262, + "pop2050": 87622081, + "country": "Uganda", + "area": 241550, + "landAreaKm": 200520, + "cca2": "UG", + "cca3": "UGA", + "netChange": 0.0423, + "growthRate": 0.0282, + "worldPercentage": 0.0061, + "density": 242.2817, + "densityMi": 627.5097, + "rank": 30 + }, + { + "place": 729, + "pop1980": 16673586, + "pop2000": 26298773, + "pop2010": 33739933, + "pop2022": 46874204, + "pop2023": 48109006, + "pop2030": 56997099, + "pop2050": 84494269, + "country": "Sudan", + "area": 1886068, + "landAreaKm": 1868000, + "cca2": "SD", + "cca3": "SDN", + "netChange": 0.0394, + "growthRate": 0.0263, + "worldPercentage": 0.006, + "density": 25.7543, + "densityMi": 66.7036, + "rank": 31 + }, + { + "place": 724, + "pop1980": 37491666, + "pop2000": 40741651, + "pop2010": 46572772, + "pop2022": 47558630, + "pop2023": 47519628, + "pop2030": 47076573, + "pop2050": 44219565, + "country": "Spain", + "area": 505992, + "landAreaKm": 499556.6, + "cca2": "ES", + "cca3": "ESP", + "netChange": -0.0014, + "growthRate": -0.0008, + "worldPercentage": 0.0059, + "density": 95.1236, + "densityMi": 246.3702, + "rank": 32 + }, + { + "place": 32, + "pop1980": 28024803, + "pop2000": 37070774, + "pop2010": 41100123, + "pop2022": 45510318, + "pop2023": 45773884, + "pop2030": 47678560, + "pop2050": 51621175, + "country": "Argentina", + "area": 2780400, + "landAreaKm": 2736690, + "cca2": "AR", + "cca3": "ARG", + "netChange": 0.0091, + "growthRate": 0.0058, + "worldPercentage": 0.0057, + "density": 16.726, + "densityMi": 43.3203, + "rank": 33 + }, + { + "place": 12, + "pop1980": 18739378, + "pop2000": 30774621, + "pop2010": 35856344, + "pop2022": 44903225, + "pop2023": 45606480, + "pop2030": 49787283, + "pop2050": 60001113, + "country": "Algeria", + "area": 2381741, + "landAreaKm": 2381741, + "cca2": "DZ", + "cca3": "DZA", + "netChange": 0.0218, + "growthRate": 0.0157, + "worldPercentage": 0.0057, + "density": 19.1484, + "densityMi": 49.5943, + "rank": 34 + }, + { + "place": 368, + "pop1980": 13653369, + "pop2000": 24628858, + "pop2010": 31264875, + "pop2022": 44496122, + "pop2023": 45504560, + "pop2030": 52800825, + "pop2050": 74515140, + "country": "Iraq", + "area": 438317, + "landAreaKm": 434128, + "cca2": "IQ", + "cca3": "IRQ", + "netChange": 0.0322, + "growthRate": 0.0227, + "worldPercentage": 0.0057, + "density": 104.8183, + "densityMi": 271.4794, + "rank": 35 + }, + { + "place": 4, + "pop1980": 12486631, + "pop2000": 19542982, + "pop2010": 28189672, + "pop2022": 41128771, + "pop2023": 42239854, + "pop2030": 50330837, + "pop2050": 74075234, + "country": "Afghanistan", + "area": 652230, + "landAreaKm": 652230, + "cca2": "AF", + "cca3": "AFG", + "netChange": 0.0357, + "growthRate": 0.027, + "worldPercentage": 0.0053, + "density": 64.7622, + "densityMi": 167.7341, + "rank": 36 + }, + { + "place": 616, + "pop1980": 35521429, + "pop2000": 38504431, + "pop2010": 38597353, + "pop2022": 39857145, + "pop2023": 41026067, + "pop2030": 38700518, + "pop2050": 34932339, + "country": "Poland", + "area": 312679, + "landAreaKm": 306130, + "cca2": "PL", + "cca3": "POL", + "netChange": -0.0286, + "growthRate": 0.0293, + "worldPercentage": 0.0051, + "density": 134.0152, + "densityMi": 347.0993, + "rank": 37 + }, + { + "place": 124, + "pop1980": 24511510, + "pop2000": 30683313, + "pop2010": 33963412, + "pop2022": 38454327, + "pop2023": 38781291, + "pop2030": 41008596, + "pop2050": 45890819, + "country": "Canada", + "area": 9984670, + "landAreaKm": 8965590, + "cca2": "CA", + "cca3": "CAN", + "netChange": 0.0104, + "growthRate": 0.0085, + "worldPercentage": 0.0048, + "density": 4.3256, + "densityMi": 11.2032, + "rank": 38 + }, + { + "place": 504, + "pop1980": 19678444, + "pop2000": 28554415, + "pop2010": 32464865, + "pop2022": 37457971, + "pop2023": 37840044, + "pop2030": 40226395, + "pop2050": 45044990, + "country": "Morocco", + "area": 446550, + "landAreaKm": 446300, + "cca2": "MA", + "cca3": "MAR", + "netChange": 0.012, + "growthRate": 0.0102, + "worldPercentage": 0.0047, + "density": 84.7861, + "densityMi": 219.596, + "rank": 39 + }, + { + "place": 682, + "pop1980": 10171710, + "pop2000": 21547390, + "pop2010": 29411929, + "pop2022": 36408820, + "pop2023": 36947025, + "pop2030": 40461368, + "pop2050": 48374543, + "country": "Saudi Arabia", + "area": 2149690, + "landAreaKm": 2149690, + "cca2": "SA", + "cca3": "SAU", + "netChange": 0.0169, + "growthRate": 0.0148, + "worldPercentage": 0.0046, + "density": 17.1871, + "densityMi": 44.5147, + "rank": 40 + }, + { + "place": 804, + "pop1980": 49973920, + "pop2000": 48879755, + "pop2010": 45683020, + "pop2022": 39701739, + "pop2023": 36744634, + "pop2030": 38295429, + "pop2050": 32867718.999999996, + "country": "Ukraine", + "area": 603500, + "landAreaKm": 579400, + "cca2": "UA", + "cca3": "UKR", + "netChange": 0.0428, + "growthRate": -0.0745, + "worldPercentage": 0.0046, + "density": 63.4184, + "densityMi": 164.2537, + "rank": 41 + }, + { + "place": 24, + "pop1980": 8330047.000000001, + "pop2000": 16394062.000000002, + "pop2010": 23364185, + "pop2022": 35588987, + "pop2023": 36684202, + "pop2030": 44911664, + "pop2050": 72328068, + "country": "Angola", + "area": 1246700, + "landAreaKm": 1246700, + "cca2": "AO", + "cca3": "AGO", + "netChange": 0.0352, + "growthRate": 0.0308, + "worldPercentage": 0.0046, + "density": 29.425, + "densityMi": 76.2109, + "rank": 42 + }, + { + "place": 860, + "pop1980": 15947129, + "pop2000": 24925554, + "pop2010": 28614227, + "pop2022": 34627652, + "pop2023": 35163944, + "pop2030": 38313228, + "pop2050": 45593149, + "country": "Uzbekistan", + "area": 447400, + "landAreaKm": 440650, + "cca2": "UZ", + "cca3": "UZB", + "netChange": 0.0166, + "growthRate": 0.0155, + "worldPercentage": 0.0044, + "density": 79.8002, + "densityMi": 206.6824, + "rank": 43 + }, + { + "place": 887, + "pop1980": 9204938, + "pop2000": 18628700, + "pop2010": 24743946, + "pop2022": 33696614, + "pop2023": 34449825, + "pop2030": 39923245, + "pop2050": 55296331, + "country": "Yemen", + "area": 527968, + "landAreaKm": 527970, + "cca2": "YE", + "cca3": "YEM", + "netChange": 0.024, + "growthRate": 0.0224, + "worldPercentage": 0.0043, + "density": 65.2496, + "densityMi": 168.9964, + "rank": 44 + }, + { + "place": 604, + "pop1980": 17492406, + "pop2000": 26654439, + "pop2010": 29229572, + "pop2022": 34049588, + "pop2023": 34352719, + "pop2030": 36702393, + "pop2050": 42022554, + "country": "Peru", + "area": 1285216, + "landAreaKm": 1280000, + "cca2": "PE", + "cca3": "PER", + "netChange": 0.0105, + "growthRate": 0.0089, + "worldPercentage": 0.0043, + "density": 26.8381, + "densityMi": 69.5106, + "rank": 45 + }, + { + "place": 458, + "pop1980": 13215707, + "pop2000": 22945150, + "pop2010": 28717731, + "pop2022": 33938221, + "pop2023": 34308525, + "pop2030": 36687569, + "pop2050": 41032433, + "country": "Malaysia", + "area": 330803, + "landAreaKm": 328550, + "cca2": "MY", + "cca3": "MYS", + "netChange": 0.0116, + "growthRate": 0.0109, + "worldPercentage": 0.0043, + "density": 104.4241, + "densityMi": 270.4583, + "rank": 46 + }, + { + "place": 288, + "pop1980": 11865246, + "pop2000": 19665502, + "pop2010": 25574719, + "pop2022": 33475870.000000004, + "pop2023": 34121985, + "pop2030": 38775850, + "pop2050": 52231785, + "country": "Ghana", + "area": 238533, + "landAreaKm": 227533, + "cca2": "GH", + "cca3": "GHA", + "netChange": 0.0206, + "growthRate": 0.0193, + "worldPercentage": 0.0043, + "density": 149.965, + "densityMi": 388.4093, + "rank": 47 + }, + { + "place": 508, + "pop1980": 11413587, + "pop2000": 17768505, + "pop2010": 23073723, + "pop2022": 32969517.999999996, + "pop2023": 33897354, + "pop2030": 40920707, + "pop2050": 63044497, + "country": "Mozambique", + "area": 801590, + "landAreaKm": 786380, + "cca2": "MZ", + "cca3": "MOZ", + "netChange": 0.0302, + "growthRate": 0.0281, + "worldPercentage": 0.0042, + "density": 43.1056, + "densityMi": 111.6434, + "rank": 48 + }, + { + "place": 524, + "pop1980": 15600442, + "pop2000": 24559500, + "pop2010": 27161567, + "pop2022": 30547580, + "pop2023": 30896590, + "pop2030": 33133394.999999996, + "pop2050": 37401365, + "country": "Nepal", + "area": 147181, + "landAreaKm": 143350, + "cca2": "NP", + "cca3": "NPL", + "netChange": 0.011, + "growthRate": 0.0114, + "worldPercentage": 0.0039, + "density": 215.5325, + "densityMi": 558.2293, + "rank": 49 + }, + { + "place": 450, + "pop1980": 8948162, + "pop2000": 16216431, + "pop2010": 21731053, + "pop2022": 29611714, + "pop2023": 30325732, + "pop2030": 35604443, + "pop2050": 51592965, + "country": "Madagascar", + "area": 587041, + "landAreaKm": 581800, + "cca2": "MG", + "cca3": "MDG", + "netChange": 0.023, + "growthRate": 0.0241, + "worldPercentage": 0.0038, + "density": 52.124, + "densityMi": 135.0011, + "rank": 50 + }, + { + "place": 384, + "pop1980": 8303809.999999999, + "pop2000": 16799670, + "pop2010": 21120042, + "pop2022": 28160542, + "pop2023": 28873034, + "pop2030": 34211272, + "pop2050": 51358243, + "country": "Ivory Coast", + "area": 322463, + "landAreaKm": 318000, + "cca2": "CI", + "cca3": "CIV", + "netChange": 0.023, + "growthRate": 0.0253, + "worldPercentage": 0.0036, + "density": 90.7957, + "densityMi": 235.1609, + "rank": 51 + }, + { + "place": 862, + "pop1980": 15210443, + "pop2000": 24427729, + "pop2010": 28715022, + "pop2022": 28301696, + "pop2023": 28838499, + "pop2030": 32027461, + "pop2050": 35937404, + "country": "Venezuela", + "area": 916445, + "landAreaKm": 882050, + "cca2": "VE", + "cca3": "VEN", + "netChange": 0.0179, + "growthRate": 0.019, + "worldPercentage": 0.0036, + "density": 32.6949, + "densityMi": 84.6797, + "rank": 52 + }, + { + "place": 120, + "pop1980": 8519891, + "pop2000": 15091594, + "pop2010": 19878036, + "pop2022": 27914536, + "pop2023": 28647293, + "pop2030": 34051103, + "pop2050": 51279560, + "country": "Cameroon", + "area": 475442, + "landAreaKm": 472710, + "cca2": "CM", + "cca3": "CMR", + "netChange": 0.0235, + "growthRate": 0.0263, + "worldPercentage": 0.0036, + "density": 60.6023, + "densityMi": 156.9598, + "rank": 53 + }, + { + "place": 562, + "pop1980": 6173177, + "pop2000": 11622665, + "pop2010": 16647543.000000002, + "pop2022": 26207977, + "pop2023": 27202843, + "pop2030": 35217942, + "pop2050": 67043296, + "country": "Niger", + "area": 1267000, + "landAreaKm": 1266700, + "cca2": "NE", + "cca3": "NER", + "netChange": 0.0321, + "growthRate": 0.038, + "worldPercentage": 0.0034, + "density": 21.4754, + "densityMi": 55.6212, + "rank": 54 + }, + { + "place": 36, + "pop1980": 14706322, + "pop2000": 19017963, + "pop2010": 22019168, + "pop2022": 26177413, + "pop2023": 26439111, + "pop2030": 28202414, + "pop2050": 32192919, + "country": "Australia", + "area": 7692024, + "landAreaKm": 7692020, + "cca2": "AU", + "cca3": "AUS", + "netChange": 0.0083, + "growthRate": 0.01, + "worldPercentage": 0.0033, + "density": 3.4372, + "densityMi": 8.9024, + "rank": 55 + }, + { + "place": 408, + "pop1980": 17973650, + "pop2000": 23367059, + "pop2010": 24686435, + "pop2022": 26069416, + "pop2023": 26160821, + "pop2030": 26569401, + "pop2050": 25807197, + "country": "North Korea", + "area": 120538, + "landAreaKm": 120410, + "cca2": "KP", + "cca3": "PRK", + "netChange": 0.0028, + "growthRate": 0.0035, + "worldPercentage": 0.0033, + "density": 217.2645, + "densityMi": 562.7151, + "rank": 56 + }, + { + "place": 158, + "pop1980": 18100281, + "pop2000": 22194731, + "pop2010": 23083083, + "pop2022": 23893394, + "pop2023": 23923276, + "pop2030": 24027999, + "pop2050": 22445526, + "country": "Taiwan", + "area": 36193, + "landAreaKm": 36197, + "cca2": "TW", + "cca3": "TWN", + "netChange": 0.0009, + "growthRate": 0.0013, + "worldPercentage": 0.003, + "density": 660.9188, + "densityMi": 1711.7796, + "rank": 57 + }, + { + "place": 466, + "pop1980": 7372581, + "pop2000": 11239101, + "pop2010": 15529181, + "pop2022": 22593590, + "pop2023": 23293698, + "pop2030": 28712294, + "pop2050": 47439802, + "country": "Mali", + "area": 1240192, + "landAreaKm": 1220190, + "cca2": "ML", + "cca3": "MLI", + "netChange": 0.0225, + "growthRate": 0.031, + "worldPercentage": 0.0029, + "density": 19.0902, + "densityMi": 49.4437, + "rank": 58 + }, + { + "place": 854, + "pop1980": 6932967, + "pop2000": 11882888, + "pop2010": 16116845, + "pop2022": 22673762, + "pop2023": 23251485, + "pop2030": 27523563, + "pop2050": 40541548, + "country": "Burkina Faso", + "area": 272967, + "landAreaKm": 273600, + "cca2": "BF", + "cca3": "BFA", + "netChange": 0.0185, + "growthRate": 0.0255, + "worldPercentage": 0.0029, + "density": 84.9835, + "densityMi": 220.1073, + "rank": 59 + }, + { + "place": 760, + "pop1980": 8898954, + "pop2000": 16307654, + "pop2010": 22337563, + "pop2022": 22125249, + "pop2023": 23227014, + "pop2030": 29824735, + "pop2050": 38306374, + "country": "Syria", + "area": 185180, + "landAreaKm": 183630, + "cca2": "SY", + "cca3": "SYR", + "netChange": 0.0359, + "growthRate": 0.0498, + "worldPercentage": 0.0029, + "density": 126.4881, + "densityMi": 327.6042, + "rank": 60 + }, + { + "place": 144, + "pop1980": 14943645, + "pop2000": 18776371, + "pop2010": 20668557, + "pop2022": 21832143, + "pop2023": 21893579, + "pop2030": 22186970, + "pop2050": 21814985, + "country": "Sri Lanka", + "area": 65610, + "landAreaKm": 61860, + "cca2": "LK", + "cca3": "LKA", + "netChange": 0.0018, + "growthRate": 0.0028, + "worldPercentage": 0.0027, + "density": 353.9214, + "densityMi": 916.6565, + "rank": 61 + }, + { + "place": 454, + "pop1980": 6267369, + "pop2000": 11229387, + "pop2010": 14718422, + "pop2022": 20405317, + "pop2023": 20931751, + "pop2030": 24944243, + "pop2050": 37159300, + "country": "Malawi", + "area": 118484, + "landAreaKm": 94280, + "cca2": "MW", + "cca3": "MWI", + "netChange": 0.0169, + "growthRate": 0.0258, + "worldPercentage": 0.0026, + "density": 222.0169, + "densityMi": 575.0237, + "rank": 62 + }, + { + "place": 894, + "pop1980": 5720438, + "pop2000": 9891136, + "pop2010": 13792086, + "pop2022": 20017675, + "pop2023": 20569737, + "pop2030": 24676417, + "pop2050": 37460435, + "country": "Zambia", + "area": 752612, + "landAreaKm": 743390, + "cca2": "ZM", + "cca3": "ZMB", + "netChange": 0.0178, + "growthRate": 0.0276, + "worldPercentage": 0.0026, + "density": 27.6702, + "densityMi": 71.6658, + "rank": 63 + }, + { + "place": 642, + "pop1980": 22125224, + "pop2000": 21919876, + "pop2010": 20335211, + "pop2022": 19659267, + "pop2023": 19892812, + "pop2030": 19023383, + "pop2050": 17457213, + "country": "Romania", + "area": 238391, + "landAreaKm": 230080, + "cca2": "RO", + "cca3": "ROU", + "netChange": -0.0103, + "growthRate": 0.0119, + "worldPercentage": 0.0025, + "density": 86.4604, + "densityMi": 223.9325, + "rank": 64 + }, + { + "place": 152, + "pop1980": 11469828, + "pop2000": 15351799, + "pop2010": 17004162, + "pop2022": 19603733, + "pop2023": 19629590, + "pop2030": 19933769, + "pop2050": 20675378, + "country": "Chile", + "area": 756102, + "landAreaKm": 743532, + "cca2": "CL", + "cca3": "CHL", + "netChange": 0.0009, + "growthRate": 0.0013, + "worldPercentage": 0.0025, + "density": 26.4005, + "densityMi": 68.3772, + "rank": 65 + }, + { + "place": 398, + "pop1980": 14172710, + "pop2000": 15236253, + "pop2010": 16627837, + "pop2022": 19397998, + "pop2023": 19606633, + "pop2030": 21128221, + "pop2050": 25609978, + "country": "Kazakhstan", + "area": 2724900, + "landAreaKm": 2699700, + "cca2": "KZ", + "cca3": "KAZ", + "netChange": 0.0067, + "growthRate": 0.0108, + "worldPercentage": 0.0024, + "density": 7.2625, + "densityMi": 18.8099, + "rank": 66 + }, + { + "place": 148, + "pop1980": 4408230, + "pop2000": 8259137.000000001, + "pop2010": 11894727, + "pop2022": 17723315, + "pop2023": 18278568, + "pop2030": 22460393, + "pop2050": 36452035, + "country": "Chad", + "area": 1284000, + "landAreaKm": 1259200, + "cca2": "TD", + "cca3": "TCD", + "netChange": 0.0178, + "growthRate": 0.0313, + "worldPercentage": 0.0023, + "density": 14.516, + "densityMi": 37.5965, + "rank": 67 + }, + { + "place": 218, + "pop1980": 8135845, + "pop2000": 12626507, + "pop2010": 14989585, + "pop2022": 18001000, + "pop2023": 18190484, + "pop2030": 19486952, + "pop2050": 22269779, + "country": "Ecuador", + "area": 276841, + "landAreaKm": 248360, + "cca2": "EC", + "cca3": "ECU", + "netChange": 0.006, + "growthRate": 0.0105, + "worldPercentage": 0.0023, + "density": 73.2424, + "densityMi": 189.6978, + "rank": 68 + }, + { + "place": 706, + "pop1980": 5892224, + "pop2000": 8721465, + "pop2010": 12026649, + "pop2022": 17597511, + "pop2023": 18143378, + "pop2030": 22316857, + "pop2050": 36462830, + "country": "Somalia", + "area": 637657, + "landAreaKm": 627340, + "cca2": "SO", + "cca3": "SOM", + "netChange": 0.0176, + "growthRate": 0.031, + "worldPercentage": 0.0023, + "density": 28.9211, + "densityMi": 74.9057, + "rank": 69 + }, + { + "place": 320, + "pop1980": 6987767, + "pop2000": 11735894, + "pop2010": 14543121, + "pop2022": 17843908, + "pop2023": 18092026, + "pop2030": 20003638, + "pop2050": 24600727, + "country": "Guatemala", + "area": 108889, + "landAreaKm": 107160, + "cca2": "GT", + "cca3": "GTM", + "netChange": 0.008, + "growthRate": 0.0139, + "worldPercentage": 0.0023, + "density": 168.8319, + "densityMi": 437.2746, + "rank": 70 + }, + { + "place": 686, + "pop1980": 5703869, + "pop2000": 9704287, + "pop2010": 12530121, + "pop2022": 17316449, + "pop2023": 17763163, + "pop2030": 21125872, + "pop2050": 32562869, + "country": "Senegal", + "area": 196722, + "landAreaKm": 192530, + "cca2": "SN", + "cca3": "SEN", + "netChange": 0.0144, + "growthRate": 0.0258, + "worldPercentage": 0.0022, + "density": 92.2618, + "densityMi": 238.958, + "rank": 71 + }, + { + "place": 528, + "pop1980": 14130387, + "pop2000": 15899135, + "pop2010": 16617116.999999998, + "pop2022": 17564014, + "pop2023": 17618299, + "pop2030": 17943803, + "pop2050": 17897025, + "country": "Netherlands", + "area": 41850, + "landAreaKm": 33670, + "cca2": "NL", + "cca3": "NLD", + "netChange": 0.0017, + "growthRate": 0.0031, + "worldPercentage": 0.0022, + "density": 523.264, + "densityMi": 1355.2538, + "rank": 72 + }, + { + "place": 116, + "pop1980": 6198959, + "pop2000": 12118841, + "pop2010": 14363532, + "pop2022": 16767842, + "pop2023": 16944826, + "pop2030": 18084248, + "pop2050": 20258435, + "country": "Cambodia", + "area": 181035, + "landAreaKm": 176520, + "cca2": "KH", + "cca3": "KHM", + "netChange": 0.0057, + "growthRate": 0.0106, + "worldPercentage": 0.0021, + "density": 95.9938, + "densityMi": 248.6239, + "rank": 73 + }, + { + "place": 716, + "pop1980": 7049926, + "pop2000": 11834676, + "pop2010": 12839771, + "pop2022": 16320537, + "pop2023": 16665409, + "pop2030": 19179393, + "pop2050": 26438589, + "country": "Zimbabwe", + "area": 390757, + "landAreaKm": 386850, + "cca2": "ZW", + "cca3": "ZWE", + "netChange": 0.0112, + "growthRate": 0.0211, + "worldPercentage": 0.0021, + "density": 43.0798, + "densityMi": 111.5766, + "rank": 74 + }, + { + "place": 324, + "pop1980": 4972609, + "pop2000": 8336967.000000001, + "pop2010": 10270728, + "pop2022": 13859341, + "pop2023": 14190612, + "pop2030": 16622387.999999998, + "pop2050": 23711700, + "country": "Guinea", + "area": 245857, + "landAreaKm": 245720, + "cca2": "GN", + "cca3": "GIN", + "netChange": 0.0106, + "growthRate": 0.0239, + "worldPercentage": 0.0018, + "density": 57.7511, + "densityMi": 149.5755, + "rank": 75 + }, + { + "place": 646, + "pop1980": 5247532, + "pop2000": 8109989, + "pop2010": 10309031, + "pop2022": 13776698, + "pop2023": 14094683, + "pop2030": 16375704, + "pop2050": 23030046, + "country": "Rwanda", + "area": 26338, + "landAreaKm": 24670, + "cca2": "RW", + "cca3": "RWA", + "netChange": 0.0101, + "growthRate": 0.0231, + "worldPercentage": 0.0018, + "density": 571.3289, + "densityMi": 1479.7417, + "rank": 76 + }, + { + "place": 204, + "pop1980": 3833939, + "pop2000": 6998023, + "pop2010": 9445710, + "pop2022": 13352864, + "pop2023": 13712828, + "pop2030": 16393827.000000002, + "pop2050": 25264035, + "country": "Benin", + "area": 112622, + "landAreaKm": 112760, + "cca2": "BJ", + "cca3": "BEN", + "netChange": 0.0115, + "growthRate": 0.027, + "worldPercentage": 0.0017, + "density": 121.6107, + "densityMi": 314.9718, + "rank": 77 + }, + { + "place": 108, + "pop1980": 4312834, + "pop2000": 6307659, + "pop2010": 9126605, + "pop2022": 12889576, + "pop2023": 13238559, + "pop2030": 15800530, + "pop2050": 24208671, + "country": "Burundi", + "area": 27834, + "landAreaKm": 25680, + "cca2": "BI", + "cca3": "BDI", + "netChange": 0.0111, + "growthRate": 0.0271, + "worldPercentage": 0.0017, + "density": 515.5202, + "densityMi": 1335.1973, + "rank": 78 + }, + { + "place": 788, + "pop1980": 6578156, + "pop2000": 9893316, + "pop2010": 10895063, + "pop2022": 12356117, + "pop2023": 12458223, + "pop2030": 13100768, + "pop2050": 14315779, + "country": "Tunisia", + "area": 163610, + "landAreaKm": 155360, + "cca2": "TN", + "cca3": "TUN", + "netChange": 0.0035, + "growthRate": 0.0083, + "worldPercentage": 0.0016, + "density": 80.1894, + "densityMi": 207.6905, + "rank": 79 + }, + { + "place": 68, + "pop1980": 5736088, + "pop2000": 8592656, + "pop2010": 10223270, + "pop2022": 12224110, + "pop2023": 12388571, + "pop2030": 13625507, + "pop2050": 16609854, + "country": "Bolivia", + "area": 1098581, + "landAreaKm": 1083300, + "cca2": "BO", + "cca3": "BOL", + "netChange": 0.0057, + "growthRate": 0.0135, + "worldPercentage": 0.0015, + "density": 11.436, + "densityMi": 29.6191, + "rank": 80 + }, + { + "place": 332, + "pop1980": 5646676, + "pop2000": 8360225, + "pop2010": 9842880, + "pop2022": 11584996, + "pop2023": 11724763, + "pop2030": 12700006, + "pop2050": 15087520, + "country": "Haiti", + "area": 27750, + "landAreaKm": 27560, + "cca2": "HT", + "cca3": "HTI", + "netChange": 0.0045, + "growthRate": 0.0121, + "worldPercentage": 0.0015, + "density": 425.4268, + "densityMi": 1101.8554, + "rank": 81 + }, + { + "place": 56, + "pop1980": 9828986, + "pop2000": 10264343, + "pop2010": 10877947, + "pop2022": 11655930, + "pop2023": 11686140, + "pop2030": 11873460, + "pop2050": 12090657, + "country": "Belgium", + "area": 30528, + "landAreaKm": 30280, + "cca2": "BE", + "cca3": "BEL", + "netChange": 0.0009, + "growthRate": 0.0026, + "worldPercentage": 0.0015, + "density": 385.9359, + "densityMi": 999.5741, + "rank": 82 + }, + { + "place": 400, + "pop1980": 2216903, + "pop2000": 5056174, + "pop2010": 6931258, + "pop2022": 11285869, + "pop2023": 11337052, + "pop2030": 11933395, + "pop2050": 15005941, + "country": "Jordan", + "area": 89342, + "landAreaKm": 88794, + "cca2": "JO", + "cca3": "JOR", + "netChange": 0.0014, + "growthRate": 0.0045, + "worldPercentage": 0.0014, + "density": 127.6781, + "densityMi": 330.6864, + "rank": 83 + }, + { + "place": 214, + "pop1980": 5755800, + "pop2000": 8540791, + "pop2010": 9775755, + "pop2022": 11228821, + "pop2023": 11332972, + "pop2030": 11982523, + "pop2050": 13180541, + "country": "Dominican Republic", + "area": 48671, + "landAreaKm": 48310, + "cca2": "DO", + "cca3": "DOM", + "netChange": 0.0032, + "growthRate": 0.0093, + "worldPercentage": 0.0014, + "density": 234.5885, + "densityMi": 607.5843, + "rank": 84 + }, + { + "place": 192, + "pop1980": 9809107, + "pop2000": 11105791, + "pop2010": 11290417, + "pop2022": 11212191, + "pop2023": 11194449, + "pop2030": 11016041, + "pop2050": 10028085, + "country": "Cuba", + "area": 109884, + "landAreaKm": 103800, + "cca2": "CU", + "cca3": "CUB", + "netChange": -0.0006, + "growthRate": -0.0016, + "worldPercentage": 0.0014, + "density": 107.8463, + "densityMi": 279.322, + "rank": 85 + }, + { + "place": 728, + "pop1980": 4192011.9999999995, + "pop2000": 6114440, + "pop2010": 9714419, + "pop2022": 10913164, + "pop2023": 11088796, + "pop2030": 12570402, + "pop2050": 17460846, + "country": "South Sudan", + "area": 619745, + "landAreaKm": 631930, + "cca2": "SS", + "cca3": "SSD", + "netChange": 0.0058, + "growthRate": 0.0161, + "worldPercentage": 0.0014, + "density": 17.5475, + "densityMi": 45.448, + "rank": 86 + }, + { + "place": 752, + "pop1980": 8311763.000000001, + "pop2000": 8871043, + "pop2010": 9381729, + "pop2022": 10549347, + "pop2023": 10612086, + "pop2030": 11007228, + "pop2050": 11902033, + "country": "Sweden", + "area": 450295, + "landAreaKm": 407283.5, + "cca2": "SE", + "cca3": "SWE", + "netChange": 0.002, + "growthRate": 0.0059, + "worldPercentage": 0.0013, + "density": 26.0558, + "densityMi": 67.4844, + "rank": 87 + }, + { + "place": 340, + "pop1980": 3777990, + "pop2000": 6656725, + "pop2010": 8450933, + "pop2022": 10432860, + "pop2023": 10593798, + "pop2030": 11724522, + "pop2050": 14258514, + "country": "Honduras", + "area": 112492, + "landAreaKm": 111890, + "cca2": "HN", + "cca3": "HND", + "netChange": 0.0053, + "growthRate": 0.0154, + "worldPercentage": 0.0013, + "density": 94.6805, + "densityMi": 245.2224, + "rank": 88 + }, + { + "place": 203, + "pop1980": 10270060, + "pop2000": 10234710, + "pop2010": 10464749, + "pop2022": 10493986, + "pop2023": 10495295, + "pop2030": 10515199, + "pop2050": 10577126, + "country": "Czech Republic", + "area": 78865, + "landAreaKm": 77198.5, + "cca2": "CZ", + "cca3": "CZE", + "netChange": 0.0003, + "growthRate": 0.0001, + "worldPercentage": 0.0013, + "density": 135.9521, + "densityMi": 352.1158, + "rank": 89 + }, + { + "place": 31, + "pop1980": 6383060, + "pop2000": 8190337, + "pop2010": 9237202, + "pop2022": 10358074, + "pop2023": 10412651, + "pop2030": 10711138, + "pop2050": 10867296, + "country": "Azerbaijan", + "area": 86600, + "landAreaKm": 82646, + "cca2": "AZ", + "cca3": "AZE", + "netChange": 0.0017, + "growthRate": 0.0053, + "worldPercentage": 0.0013, + "density": 125.991, + "densityMi": 326.3167, + "rank": 90 + }, + { + "place": 300, + "pop1980": 9307148, + "pop2000": 11038109, + "pop2010": 11033783, + "pop2022": 10384971, + "pop2023": 10341277, + "pop2030": 10059703, + "pop2050": 9144951, + "country": "Greece", + "area": 131990, + "landAreaKm": 128900, + "cca2": "GR", + "cca3": "GRC", + "netChange": -0.0012, + "growthRate": -0.0042, + "worldPercentage": 0.0013, + "density": 80.2271, + "densityMi": 207.7883, + "rank": 91 + }, + { + "place": 598, + "pop1980": 3104788, + "pop2000": 5508297, + "pop2010": 7583269, + "pop2022": 10142619, + "pop2023": 10329931, + "pop2030": 11615322, + "pop2050": 14910369, + "country": "Papua New Guinea", + "area": 462840, + "landAreaKm": 452860, + "cca2": "PG", + "cca3": "PNG", + "netChange": 0.0059, + "growthRate": 0.0185, + "worldPercentage": 0.0013, + "density": 22.8104, + "densityMi": 59.079, + "rank": 92 + }, + { + "place": 620, + "pop1980": 9785252, + "pop2000": 10300626, + "pop2010": 10588401, + "pop2022": 10270865, + "pop2023": 10247605, + "pop2030": 10062183, + "pop2050": 9261305, + "country": "Portugal", + "area": 92090, + "landAreaKm": 91605.6, + "cca2": "PT", + "cca3": "PRT", + "netChange": -0.0008, + "growthRate": -0.0023, + "worldPercentage": 0.0013, + "density": 111.8666, + "densityMi": 289.7344, + "rank": 93 + }, + { + "place": 348, + "pop1980": 10698679, + "pop2000": 10202055, + "pop2010": 9986825, + "pop2022": 9967308, + "pop2023": 10156239, + "pop2030": 9642912, + "pop2050": 8817396, + "country": "Hungary", + "area": 93028, + "landAreaKm": 91260, + "cca2": "HU", + "cca3": "HUN", + "netChange": -0.0057, + "growthRate": 0.019, + "worldPercentage": 0.0013, + "density": 111.2891, + "densityMi": 288.2386, + "rank": 94 + }, + { + "place": 762, + "pop1980": 4045965, + "pop2000": 6272998, + "pop2010": 7621779, + "pop2022": 9952787, + "pop2023": 10143543, + "pop2030": 11421430, + "pop2050": 15200989, + "country": "Tajikistan", + "area": 143100, + "landAreaKm": 138790, + "cca2": "TJ", + "cca3": "TJK", + "netChange": 0.006, + "growthRate": 0.0192, + "worldPercentage": 0.0013, + "density": 73.0855, + "densityMi": 189.2916, + "rank": 95 + }, + { + "place": 784, + "pop1980": 1014048, + "pop2000": 3275333, + "pop2010": 8481771, + "pop2022": 9441129, + "pop2023": 9516871, + "pop2030": 10004319, + "pop2050": 11449471, + "country": "United Arab Emirates", + "area": 83600, + "landAreaKm": 71020, + "cca2": "AE", + "cca3": "ARE", + "netChange": 0.0024, + "growthRate": 0.008, + "worldPercentage": 0.0012, + "density": 134.0027, + "densityMi": 347.067, + "rank": 96 + }, + { + "place": 112, + "pop1980": 9817257, + "pop2000": 10256483, + "pop2010": 9731427, + "pop2022": 9534954, + "pop2023": 9498238, + "pop2030": 9206170, + "pop2050": 8409632, + "country": "Belarus", + "area": 207600, + "landAreaKm": 202980, + "cca2": "BY", + "cca3": "BLR", + "netChange": -0.0014, + "growthRate": -0.0039, + "worldPercentage": 0.0012, + "density": 46.794, + "densityMi": 121.1964, + "rank": 97 + }, + { + "place": 376, + "pop1980": 3744608, + "pop2000": 6116958, + "pop2010": 7328445, + "pop2022": 9038309, + "pop2023": 9174520, + "pop2030": 10134951, + "pop2050": 12991790, + "country": "Israel", + "area": 20770, + "landAreaKm": 21640, + "cca2": "IL", + "cca3": "ISR", + "netChange": 0.0043, + "growthRate": 0.0151, + "worldPercentage": 0.0011, + "density": 423.9612, + "densityMi": 1098.0595, + "rank": 98 + }, + { + "place": 768, + "pop1980": 2838110, + "pop2000": 5008035, + "pop2010": 6571855, + "pop2022": 8848699, + "pop2023": 9053799, + "pop2030": 10558178, + "pop2050": 15478883, + "country": "Togo", + "area": 56785, + "landAreaKm": 54390, + "cca2": "TG", + "cca3": "TGO", + "netChange": 0.0065, + "growthRate": 0.0232, + "worldPercentage": 0.0011, + "density": 166.4607, + "densityMi": 431.1333, + "rank": 99 + }, + { + "place": 40, + "pop1980": 7547561, + "pop2000": 8010428, + "pop2010": 8362829, + "pop2022": 8939617, + "pop2023": 8958960, + "pop2030": 9054576, + "pop2050": 8924190, + "country": "Austria", + "area": 83871, + "landAreaKm": 82520, + "cca2": "AT", + "cca3": "AUT", + "netChange": 0.0006, + "growthRate": 0.0022, + "worldPercentage": 0.0011, + "density": 108.5671, + "densityMi": 281.1889, + "rank": 100 + }, + { + "place": 756, + "pop1980": 6319113, + "pop2000": 7182059, + "pop2010": 7822435, + "pop2022": 8740472, + "pop2023": 8796669, + "pop2030": 9143698, + "pop2050": 9753753, + "country": "Switzerland", + "area": 41284, + "landAreaKm": 39516, + "cca2": "CH", + "cca3": "CHE", + "netChange": 0.0018, + "growthRate": 0.0064, + "worldPercentage": 0.0011, + "density": 222.6103, + "densityMi": 576.5607, + "rank": 101 + }, + { + "place": 694, + "pop1980": 3367477, + "pop2000": 4584067, + "pop2010": 6436698, + "pop2022": 8605718, + "pop2023": 8791092, + "pop2030": 10105188, + "pop2050": 13595023, + "country": "Sierra Leone", + "area": 71740, + "landAreaKm": 72180, + "cca2": "SL", + "cca3": "SLE", + "netChange": 0.0059, + "growthRate": 0.0215, + "worldPercentage": 0.0011, + "density": 121.794, + "densityMi": 315.4465, + "rank": 102 + }, + { + "place": 418, + "pop1980": 3297519, + "pop2000": 5430853, + "pop2010": 6323418, + "pop2022": 7529475, + "pop2023": 7633779, + "pop2030": 8321287, + "pop2050": 9775552, + "country": "Laos", + "area": 236800, + "landAreaKm": 230800, + "cca2": "LA", + "cca3": "LAO", + "netChange": 0.0033, + "growthRate": 0.0139, + "worldPercentage": 0.001, + "density": 33.0753, + "densityMi": 85.665, + "rank": 103 + }, + { + "place": 344, + "pop1980": 4978544, + "pop2000": 6731195, + "pop2010": 7132438, + "pop2022": 7488865, + "pop2023": 7491609, + "pop2030": 7485887, + "pop2050": 6975391, + "country": "Hong Kong", + "area": 1104, + "landAreaKm": 1050, + "cca2": "HK", + "cca3": "HKG", + "netChange": 0.0002, + "growthRate": 0.0004, + "worldPercentage": 0.0009, + "density": 7134.8657, + "densityMi": 18479.3022, + "rank": 104 + }, + { + "place": 688, + "pop1980": 7777010, + "pop2000": 7935022, + "pop2010": 7653748, + "pop2022": 7221365, + "pop2023": 7149077, + "pop2030": 6832604, + "pop2050": 5777806, + "country": "Serbia", + "area": 88361, + "landAreaKm": 87460, + "cca2": "RS", + "cca3": "SRB", + "netChange": -0.002, + "growthRate": -0.01, + "worldPercentage": 0.0009, + "density": 81.7411, + "densityMi": 211.7095, + "rank": 105 + }, + { + "place": 558, + "pop1980": 3303309, + "pop2000": 5123222, + "pop2010": 5855734, + "pop2022": 6948392, + "pop2023": 7046310, + "pop2030": 7688686, + "pop2050": 9094641, + "country": "Nicaragua", + "area": 130373, + "landAreaKm": 120340, + "cca2": "NI", + "cca3": "NIC", + "netChange": 0.0031, + "growthRate": 0.0141, + "worldPercentage": 0.0009, + "density": 58.5533, + "densityMi": 151.6532, + "rank": 106 + }, + { + "place": 434, + "pop1980": 2962720, + "pop2000": 5154790, + "pop2010": 6491988, + "pop2022": 6812341, + "pop2023": 6888388, + "pop2030": 7394813, + "pop2050": 8539976, + "country": "Libya", + "area": 1759540, + "landAreaKm": 1759540, + "cca2": "LY", + "cca3": "LBY", + "netChange": 0.0024, + "growthRate": 0.0112, + "worldPercentage": 0.0009, + "density": 3.9149, + "densityMi": 10.1395, + "rank": 107 + }, + { + "place": 600, + "pop1980": 3078912, + "pop2000": 5123819, + "pop2010": 5768613, + "pop2022": 6780744, + "pop2023": 6861524, + "pop2030": 7425448, + "pop2050": 8591486, + "country": "Paraguay", + "area": 406752, + "landAreaKm": 397300, + "cca2": "PY", + "cca3": "PRY", + "netChange": 0.0027, + "growthRate": 0.0119, + "worldPercentage": 0.0009, + "density": 17.2704, + "densityMi": 44.7303, + "rank": 108 + }, + { + "place": 417, + "pop1980": 3691209, + "pop2000": 4935182, + "pop2010": 5483774, + "pop2022": 6630623, + "pop2023": 6735347, + "pop2030": 7435378, + "pop2050": 9426858, + "country": "Kyrgyzstan", + "area": 199951, + "landAreaKm": 191800, + "cca2": "KG", + "cca3": "KGZ", + "netChange": 0.0033, + "growthRate": 0.0158, + "worldPercentage": 0.0008, + "density": 35.1165, + "densityMi": 90.9518, + "rank": 109 + }, + { + "place": 100, + "pop1980": 8980606, + "pop2000": 8097691, + "pop2010": 7592273, + "pop2022": 6781953, + "pop2023": 6687717, + "pop2030": 6290166, + "pop2050": 5187392, + "country": "Bulgaria", + "area": 110879, + "landAreaKm": 108560, + "cca2": "BG", + "cca3": "BGR", + "netChange": -0.0027, + "growthRate": -0.0139, + "worldPercentage": 0.0008, + "density": 61.6039, + "densityMi": 159.554, + "rank": 110 + }, + { + "place": 795, + "pop1980": 2862903, + "pop2000": 4569132, + "pop2010": 5267970, + "pop2022": 6430770, + "pop2023": 6516100, + "pop2030": 7034758, + "pop2050": 8263833.000000001, + "country": "Turkmenistan", + "area": 488100, + "landAreaKm": 469930, + "cca2": "TM", + "cca3": "TKM", + "netChange": 0.0026, + "growthRate": 0.0133, + "worldPercentage": 0.0008, + "density": 13.8661, + "densityMi": 35.9132, + "rank": 111 + }, + { + "place": 222, + "pop1980": 4508992, + "pop2000": 5958482, + "pop2010": 6114034, + "pop2022": 6336392, + "pop2023": 6364943, + "pop2030": 6554224, + "pop2050": 6636854, + "country": "El Salvador", + "area": 21041, + "landAreaKm": 20720, + "cca2": "SV", + "cca3": "SLV", + "netChange": 0.001, + "growthRate": 0.0045, + "worldPercentage": 0.0008, + "density": 307.1884, + "densityMi": 795.6179, + "rank": 112 + }, + { + "place": 178, + "pop1980": 1829256, + "pop2000": 3134030, + "pop2010": 4437884, + "pop2022": 5970424, + "pop2023": 6106869, + "pop2030": 7114987, + "pop2050": 10378912, + "country": "Republic of the Congo", + "area": 342000, + "landAreaKm": 341500, + "cca2": "CG", + "cca3": "COG", + "netChange": 0.0043, + "growthRate": 0.0229, + "worldPercentage": 0.0008, + "density": 17.8825, + "densityMi": 46.3156, + "rank": 113 + }, + { + "place": 702, + "pop1980": 2400729, + "pop2000": 4053602, + "pop2010": 5163590, + "pop2022": 5975689, + "pop2023": 6014723, + "pop2030": 6251988, + "pop2050": 6337235, + "country": "Singapore", + "area": 710, + "landAreaKm": 718, + "cca2": "SG", + "cca3": "SGP", + "netChange": 0.0012, + "growthRate": 0.0065, + "worldPercentage": 0.0008, + "density": 8377.0515, + "densityMi": 21696.5635, + "rank": 114 + }, + { + "place": 208, + "pop1980": 5125392, + "pop2000": 5340655, + "pop2010": 5550849, + "pop2022": 5882261, + "pop2023": 5910913, + "pop2030": 6104474, + "pop2050": 6445109, + "country": "Denmark", + "area": 43094, + "landAreaKm": 40000, + "cca2": "DK", + "cca3": "DNK", + "netChange": 0.0009, + "growthRate": 0.0049, + "worldPercentage": 0.0007, + "density": 147.7728, + "densityMi": 382.7316, + "rank": 115 + }, + { + "place": 703, + "pop1980": 4973883, + "pop2000": 5376690, + "pop2010": 5396424, + "pop2022": 5643453, + "pop2023": 5795199, + "pop2030": 5555114, + "pop2050": 5186967, + "country": "Slovakia", + "area": 49037, + "landAreaKm": 49035, + "cca2": "SK", + "cca3": "SVK", + "netChange": -0.0033, + "growthRate": 0.0269, + "worldPercentage": 0.0007, + "density": 118.1849, + "densityMi": 306.099, + "rank": 116 + }, + { + "place": 140, + "pop1980": 2415276, + "pop2000": 3759170, + "pop2010": 4660067, + "pop2022": 5579144, + "pop2023": 5742315, + "pop2030": 7104274, + "pop2050": 11533423, + "country": "Central African Republic", + "area": 622984, + "landAreaKm": 622980, + "cca2": "CF", + "cca3": "CAF", + "netChange": 0.0053, + "growthRate": 0.0292, + "worldPercentage": 0.0007, + "density": 9.2175, + "densityMi": 23.8733, + "rank": 117 + }, + { + "place": 246, + "pop1980": 4779418, + "pop2000": 5176209, + "pop2010": 5363271, + "pop2022": 5540745, + "pop2023": 5545475, + "pop2030": 5565475, + "pop2050": 5460917, + "country": "Finland", + "area": 338424, + "landAreaKm": 303940, + "cca2": "FI", + "cca3": "FIN", + "netChange": 0.0001, + "growthRate": 0.0009, + "worldPercentage": 0.0007, + "density": 18.2453, + "densityMi": 47.2553, + "rank": 118 + }, + { + "place": 578, + "pop1980": 4085776, + "pop2000": 4491202, + "pop2010": 4889741, + "pop2022": 5434319, + "pop2023": 5474360, + "pop2030": 5748397, + "pop2050": 6367559, + "country": "Norway", + "area": 323802, + "landAreaKm": 364285, + "cca2": "NO", + "cca3": "NOR", + "netChange": 0.0013, + "growthRate": 0.0074, + "worldPercentage": 0.0007, + "density": 15.0277, + "densityMi": 38.9217, + "rank": 119 + }, + { + "place": 430, + "pop1980": 1932169, + "pop2000": 2895224, + "pop2010": 4019956, + "pop2022": 5302681, + "pop2023": 5418377, + "pop2030": 6282074, + "pop2050": 8890700, + "country": "Liberia", + "area": 111369, + "landAreaKm": 96320, + "cca2": "LR", + "cca3": "LBR", + "netChange": 0.0037, + "growthRate": 0.0218, + "worldPercentage": 0.0007, + "density": 56.2539, + "densityMi": 145.6976, + "rank": 120 + }, + { + "place": 275, + "pop1980": 1453620, + "pop2000": 3139954, + "pop2010": 3992278, + "pop2022": 5250072, + "pop2023": 5371230, + "pop2030": 6256949, + "pop2050": 8861747, + "country": "Palestine", + "area": 6220, + "landAreaKm": 6020, + "cca2": "PS", + "cca3": "PSE", + "netChange": 0.0039, + "growthRate": 0.0231, + "worldPercentage": 0.0007, + "density": 892.2309, + "densityMi": 2310.878, + "rank": 121 + }, + { + "place": 422, + "pop1980": 2963702, + "pop2000": 4320642, + "pop2010": 4995800, + "pop2022": 5489739, + "pop2023": 5353930, + "pop2030": 4714240, + "pop2050": 4937579, + "country": "Lebanon", + "area": 10452, + "landAreaKm": 10230, + "cca2": "LB", + "cca3": "LBN", + "netChange": -0.0045, + "growthRate": -0.0247, + "worldPercentage": 0.0007, + "density": 523.3558, + "densityMi": 1355.4916, + "rank": 122 + }, + { + "place": 554, + "pop1980": 3147168, + "pop2000": 3855266, + "pop2010": 4346338, + "pop2022": 5185288, + "pop2023": 5228100, + "pop2030": 5495670, + "pop2050": 5949002, + "country": "New Zealand", + "area": 270467, + "landAreaKm": 263310, + "cca2": "NZ", + "cca3": "NZL", + "netChange": 0.0013, + "growthRate": 0.0083, + "worldPercentage": 0.0007, + "density": 19.8553, + "densityMi": 51.4252, + "rank": 123 + }, + { + "place": 188, + "pop1980": 2414303, + "pop2000": 3979193, + "pop2010": 4622252, + "pop2022": 5180829, + "pop2023": 5212173, + "pop2030": 5432243, + "pop2050": 5702525, + "country": "Costa Rica", + "area": 51100, + "landAreaKm": 51060, + "cca2": "CR", + "cca3": "CRI", + "netChange": 0.0011, + "growthRate": 0.006, + "worldPercentage": 0.0007, + "density": 102.0794, + "densityMi": 264.3856, + "rank": 124 + }, + { + "place": 372, + "pop1980": 3391387, + "pop2000": 3768950, + "pop2010": 4524585, + "pop2022": 5023109, + "pop2023": 5056935, + "pop2030": 5266881, + "pop2050": 5724686, + "country": "Ireland", + "area": 70273, + "landAreaKm": 68890, + "cca2": "IE", + "cca3": "IRL", + "netChange": 0.0011, + "growthRate": 0.0067, + "worldPercentage": 0.0006, + "density": 73.4059, + "densityMi": 190.1214, + "rank": 125 + }, + { + "place": 478, + "pop1980": 1506694, + "pop2000": 2695003, + "pop2010": 3419461, + "pop2022": 4736139, + "pop2023": 4862989, + "pop2030": 5830563, + "pop2050": 8914673, + "country": "Mauritania", + "area": 1030700, + "landAreaKm": 1030700, + "cca2": "MR", + "cca3": "MRT", + "netChange": 0.0041, + "growthRate": 0.0268, + "worldPercentage": 0.0006, + "density": 4.7181, + "densityMi": 12.22, + "rank": 126 + }, + { + "place": 512, + "pop1980": 1017462, + "pop2000": 2344253, + "pop2010": 2881914, + "pop2022": 4576298, + "pop2023": 4644384, + "pop2030": 5093376, + "pop2050": 6328978, + "country": "Oman", + "area": 309500, + "landAreaKm": 309500, + "cca2": "OM", + "cca3": "OMN", + "netChange": 0.0022, + "growthRate": 0.0149, + "worldPercentage": 0.0006, + "density": 15.0061, + "densityMi": 38.8658, + "rank": 127 + }, + { + "place": 591, + "pop1980": 1956987, + "pop2000": 3001731, + "pop2010": 3623617, + "pop2022": 4408581, + "pop2023": 4468087, + "pop2030": 4864126, + "pop2050": 5736121, + "country": "Panama", + "area": 75417, + "landAreaKm": 74180, + "cca2": "PA", + "cca3": "PAN", + "netChange": 0.0019, + "growthRate": 0.0135, + "worldPercentage": 0.0006, + "density": 60.233, + "densityMi": 156.0036, + "rank": 128 + }, + { + "place": 414, + "pop1980": 1493870, + "pop2000": 1934901, + "pop2010": 2943356, + "pop2022": 4268873, + "pop2023": 4310108, + "pop2030": 4564570, + "pop2050": 5155414, + "country": "Kuwait", + "area": 17818, + "landAreaKm": 17820, + "cca2": "KW", + "cca3": "KWT", + "netChange": 0.0013, + "growthRate": 0.0097, + "worldPercentage": 0.0005, + "density": 241.8691, + "densityMi": 626.4411, + "rank": 129 + }, + { + "place": 191, + "pop1980": 4680144, + "pop2000": 4548434, + "pop2010": 4368682, + "pop2022": 4030358, + "pop2023": 4008617, + "pop2030": 3850140, + "pop2050": 3333425, + "country": "Croatia", + "area": 56594, + "landAreaKm": 55960, + "cca2": "HR", + "cca3": "HRV", + "netChange": -0.0007, + "growthRate": -0.0054, + "worldPercentage": 0.0005, + "density": 71.6336, + "densityMi": 185.5311, + "rank": 130 + }, + { + "place": 232, + "pop1980": 1657982, + "pop2000": 2392880, + "pop2010": 3147727, + "pop2022": 3684032, + "pop2023": 3748901, + "pop2030": 4283355, + "pop2050": 5964021, + "country": "Eritrea", + "area": 117600, + "landAreaKm": 121040.8, + "cca2": "ER", + "cca3": "ERI", + "netChange": 0.0021, + "growthRate": 0.0176, + "worldPercentage": 0.0005, + "density": 30.9722, + "densityMi": 80.218, + "rank": 131 + }, + { + "place": 268, + "pop1980": 5145843, + "pop2000": 4265172, + "pop2010": 3836831, + "pop2022": 3744385, + "pop2023": 3728282, + "pop2030": 3657494, + "pop2050": 3384660, + "country": "Georgia", + "area": 69700, + "landAreaKm": 69490, + "cca2": "GE", + "cca3": "GEO", + "netChange": -0.0005, + "growthRate": -0.0043, + "worldPercentage": 0.0005, + "density": 53.6521, + "densityMi": 138.9588, + "rank": 132 + }, + { + "place": 496, + "pop1980": 1697780, + "pop2000": 2450979, + "pop2010": 2702520, + "pop2022": 3398366, + "pop2023": 3447157, + "pop2030": 3736327, + "pop2050": 4518856, + "country": "Mongolia", + "area": 1564110, + "landAreaKm": 1557506.8, + "cca2": "MN", + "cca3": "MNG", + "netChange": 0.0015, + "growthRate": 0.0144, + "worldPercentage": 0.0004, + "density": 2.2133, + "densityMi": 5.7323, + "rank": 133 + }, + { + "place": 498, + "pop1980": 4103240, + "pop2000": 4251573, + "pop2010": 3678186, + "pop2022": 3272996, + "pop2023": 3435931, + "pop2030": 3174727, + "pop2050": 2997532, + "country": "Moldova", + "area": 33846, + "landAreaKm": 32884.6, + "cca2": "MD", + "cca3": "MDA", + "netChange": -0.0039, + "growthRate": 0.0498, + "worldPercentage": 0.0004, + "density": 104.4845, + "densityMi": 270.6149, + "rank": 134 + }, + { + "place": 858, + "pop1980": 2953750, + "pop2000": 3292224, + "pop2010": 3352651, + "pop2022": 3422794, + "pop2023": 3423108, + "pop2030": 3423372, + "pop2050": 3337143, + "country": "Uruguay", + "area": 181034, + "landAreaKm": 175020, + "cca2": "UY", + "cca3": "URY", + "netChange": 0, + "growthRate": 0.0001, + "worldPercentage": 0.0004, + "density": 19.5584, + "densityMi": 50.6562, + "rank": 135 + }, + { + "place": 630, + "pop1980": 3214568, + "pop2000": 3827108, + "pop2010": 3717922, + "pop2022": 3252407, + "pop2023": 3260314, + "pop2030": 3259722, + "pop2050": 2727624, + "country": "Puerto Rico", + "area": 8870, + "landAreaKm": 8870, + "cca2": "PR", + "cca3": "PRI", + "netChange": 0.0003, + "growthRate": 0.0024, + "worldPercentage": 0.0004, + "density": 367.5664, + "densityMi": 951.997, + "rank": 136 + }, + { + "place": 70, + "pop1980": 4199820, + "pop2000": 4179350.0000000005, + "pop2010": 3811088, + "pop2022": 3233526, + "pop2023": 3210847, + "pop2030": 3111789, + "pop2050": 2739014, + "country": "Bosnia and Herzegovina", + "area": 51209, + "landAreaKm": 51200, + "cca2": "BA", + "cca3": "BIH", + "netChange": -0.0006, + "growthRate": -0.007, + "worldPercentage": 0.0004, + "density": 62.7119, + "densityMi": 162.4237, + "rank": 137 + }, + { + "place": 8, + "pop1980": 2941651, + "pop2000": 3182021, + "pop2010": 2913399, + "pop2022": 2842321, + "pop2023": 2832439, + "pop2030": 2789599, + "pop2050": 2456472, + "country": "Albania", + "area": 28748, + "landAreaKm": 27400, + "cca2": "AL", + "cca3": "ALB", + "netChange": -0.0003, + "growthRate": -0.0035, + "worldPercentage": 0.0004, + "density": 103.3737, + "densityMi": 267.7378, + "rank": 138 + }, + { + "place": 388, + "pop1980": 2135546, + "pop2000": 2612205, + "pop2010": 2733896, + "pop2022": 2827377, + "pop2023": 2825544, + "pop2030": 2804356, + "pop2050": 2493823, + "country": "Jamaica", + "area": 10991, + "landAreaKm": 10830, + "cca2": "JM", + "cca3": "JAM", + "netChange": 0, + "growthRate": -0.0006, + "worldPercentage": 0.0004, + "density": 260.8997, + "densityMi": 675.7303, + "rank": 139 + }, + { + "place": 51, + "pop1980": 3135123, + "pop2000": 3168523, + "pop2010": 2946293, + "pop2022": 2780469, + "pop2023": 2777970, + "pop2030": 2759528, + "pop2050": 2573465, + "country": "Armenia", + "area": 29743, + "landAreaKm": 28470, + "cca2": "AM", + "cca3": "ARM", + "netChange": 0, + "growthRate": -0.0009, + "worldPercentage": 0.0003, + "density": 97.5753, + "densityMi": 252.7201, + "rank": 140 + }, + { + "place": 270, + "pop1980": 718586, + "pop2000": 1437539, + "pop2010": 1937275, + "pop2022": 2705992, + "pop2023": 2773168, + "pop2030": 3263651, + "pop2050": 4673743, + "country": "Gambia", + "area": 10689, + "landAreaKm": 10120, + "cca2": "GM", + "cca3": "GMB", + "netChange": 0.0022, + "growthRate": 0.0248, + "worldPercentage": 0.0003, + "density": 274.0285, + "densityMi": 709.7337, + "rank": 141 + }, + { + "place": 440, + "pop1980": 3521206, + "pop2000": 3599637, + "pop2010": 3139019, + "pop2022": 2750055, + "pop2023": 2718352, + "pop2030": 2558928, + "pop2050": 2187550, + "country": "Lithuania", + "area": 65300, + "landAreaKm": 62620, + "cca2": "LT", + "cca3": "LTU", + "netChange": -0.0008, + "growthRate": -0.0115, + "worldPercentage": 0.0003, + "density": 43.4103, + "densityMi": 112.4326, + "rank": 142 + }, + { + "place": 634, + "pop1980": 277450, + "pop2000": 645937, + "pop2010": 1713504, + "pop2022": 2695122, + "pop2023": 2716391, + "pop2030": 2855291, + "pop2050": 3358454, + "country": "Qatar", + "area": 11586, + "landAreaKm": 11490, + "cca2": "QA", + "cca3": "QAT", + "netChange": 0.0007, + "growthRate": 0.0079, + "worldPercentage": 0.0003, + "density": 236.4135, + "densityMi": 612.3109, + "rank": 143 + }, + { + "place": 72, + "pop1980": 938578, + "pop2000": 1726985, + "pop2010": 2091664.0000000002, + "pop2022": 2630296, + "pop2023": 2675352, + "pop2030": 2972271, + "pop2050": 3679340, + "country": "Botswana", + "area": 582000, + "landAreaKm": 566730, + "cca2": "BW", + "cca3": "BWA", + "netChange": 0.0014, + "growthRate": 0.0171, + "worldPercentage": 0.0003, + "density": 4.7207, + "densityMi": 12.2266, + "rank": 144 + }, + { + "place": 516, + "pop1980": 975994, + "pop2000": 1819141, + "pop2010": 2099271, + "pop2022": 2567012, + "pop2023": 2604172, + "pop2030": 2910056, + "pop2050": 3779918, + "country": "Namibia", + "area": 825615, + "landAreaKm": 823290, + "cca2": "NA", + "cca3": "NAM", + "netChange": 0.0012, + "growthRate": 0.0145, + "worldPercentage": 0.0003, + "density": 3.1631, + "densityMi": 8.1925, + "rank": 145 + }, + { + "place": 266, + "pop1980": 749078, + "pop2000": 1272935, + "pop2010": 1711105, + "pop2022": 2388992, + "pop2023": 2436566, + "pop2030": 2774523, + "pop2050": 3757053, + "country": "Gabon", + "area": 267668, + "landAreaKm": 257670, + "cca2": "GA", + "cca3": "GAB", + "netChange": 0.0015, + "growthRate": 0.0199, + "worldPercentage": 0.0003, + "density": 9.4561, + "densityMi": 24.4914, + "rank": 146 + }, + { + "place": 426, + "pop1980": 1407672, + "pop2000": 1998630, + "pop2010": 2022747, + "pop2022": 2305825, + "pop2023": 2330318, + "pop2030": 2501946, + "pop2050": 2898369, + "country": "Lesotho", + "area": 30355, + "landAreaKm": 30360, + "cca2": "LS", + "cca3": "LSO", + "netChange": 0.0008, + "growthRate": 0.0106, + "worldPercentage": 0.0003, + "density": 76.7562, + "densityMi": 198.7985, + "rank": 147 + }, + { + "place": 624, + "pop1980": 831462, + "pop2000": 1230849, + "pop2010": 1567220, + "pop2022": 2105566, + "pop2023": 2150842, + "pop2030": 2484863, + "pop2050": 3445289, + "country": "Guinea-Bissau", + "area": 36125, + "landAreaKm": 28120, + "cca2": "GW", + "cca3": "GNB", + "netChange": 0.0014, + "growthRate": 0.0215, + "worldPercentage": 0.0003, + "density": 76.488, + "densityMi": 198.1039, + "rank": 148 + }, + { + "place": 705, + "pop1980": 1901570, + "pop2000": 1984339, + "pop2010": 2057286.9999999998, + "pop2022": 2119844, + "pop2023": 2119675, + "pop2030": 2105945, + "pop2050": 2003258, + "country": "Slovenia", + "area": 20273, + "landAreaKm": 20136.4, + "cca2": "SI", + "cca3": "SVN", + "netChange": 0, + "growthRate": -0.0001, + "worldPercentage": 0.0003, + "density": 105.2658, + "densityMi": 272.6385, + "rank": 149 + }, + { + "place": 807, + "pop1980": 1907023, + "pop2000": 2037936, + "pop2010": 2093828, + "pop2022": 2093599.0000000002, + "pop2023": 2085679, + "pop2030": 2072255.9999999998, + "pop2050": 1909309, + "country": "North Macedonia", + "area": 25713, + "landAreaKm": 25220, + "cca2": "MK", + "cca3": "MKD", + "netChange": -0.0002, + "growthRate": -0.0038, + "worldPercentage": 0.0003, + "density": 82.6994, + "densityMi": 214.1915, + "rank": 150 + }, + { + "place": 428, + "pop1980": 2572037, + "pop2000": 2392530, + "pop2010": 2101530, + "pop2022": 1850651, + "pop2023": 1830211, + "pop2030": 1701338, + "pop2050": 1433728, + "country": "Latvia", + "area": 64559, + "landAreaKm": 62230, + "cca2": "LV", + "cca3": "LVA", + "netChange": -0.0006, + "growthRate": -0.011, + "worldPercentage": 0.0002, + "density": 29.4104, + "densityMi": 76.173, + "rank": 151 + }, + { + "place": 226, + "pop1980": 282509, + "pop2000": 684977, + "pop2010": 1094524, + "pop2022": 1674908, + "pop2023": 1714671, + "pop2030": 1999678, + "pop2050": 2790533, + "country": "Equatorial Guinea", + "area": 28051, + "landAreaKm": 28050, + "cca2": "GQ", + "cca3": "GNQ", + "netChange": 0.0013, + "growthRate": 0.0237, + "worldPercentage": 0.0002, + "density": 61.1291, + "densityMi": 158.3243, + "rank": 152 + }, + { + "place": 780, + "pop1980": 1127852, + "pop2000": 1332203, + "pop2010": 1410296, + "pop2022": 1531044, + "pop2023": 1534937, + "pop2030": 1547690, + "pop2050": 1485139, + "country": "Trinidad and Tobago", + "area": 5130, + "landAreaKm": 5130, + "cca2": "TT", + "cca3": "TTO", + "netChange": 0.0001, + "growthRate": 0.0025, + "worldPercentage": 0.0002, + "density": 299.208, + "densityMi": 774.9487, + "rank": 153 + }, + { + "place": 48, + "pop1980": 362595, + "pop2000": 711442, + "pop2010": 1213645, + "pop2022": 1472233, + "pop2023": 1485509, + "pop2030": 1574679, + "pop2050": 1809237, + "country": "Bahrain", + "area": 765, + "landAreaKm": 785, + "cca2": "BH", + "cca3": "BHR", + "netChange": 0.0004, + "growthRate": 0.009, + "worldPercentage": 0.0002, + "density": 1892.3682, + "densityMi": 4901.2335, + "rank": 154 + }, + { + "place": 626, + "pop1980": 642224, + "pop2000": 878360, + "pop2010": 1088486, + "pop2022": 1341296, + "pop2023": 1360596, + "pop2030": 1495081, + "pop2050": 1806869, + "country": "Timor-Leste", + "area": 14874, + "landAreaKm": 14870, + "cca2": "TL", + "cca3": "TLS", + "netChange": 0.0006, + "growthRate": 0.0144, + "worldPercentage": 0.0002, + "density": 91.4994, + "densityMi": 236.9834, + "rank": 155 + }, + { + "place": 233, + "pop1980": 1476983, + "pop2000": 1396877, + "pop2010": 1331535, + "pop2022": 1326062, + "pop2023": 1322765, + "pop2030": 1289441, + "pop2050": 1171695, + "country": "Estonia", + "area": 45227, + "landAreaKm": 42750, + "cca2": "EE", + "cca3": "EST", + "netChange": -0.0001, + "growthRate": -0.0025, + "worldPercentage": 0.0002, + "density": 30.9419, + "densityMi": 80.1394, + "rank": 156 + }, + { + "place": 480, + "pop1980": 954865, + "pop2000": 1215930, + "pop2010": 1283330, + "pop2022": 1299469, + "pop2023": 1300557, + "pop2030": 1305425, + "pop2050": 1226235, + "country": "Mauritius", + "area": 2040, + "landAreaKm": 2030, + "cca2": "MU", + "cca3": "MUS", + "netChange": 0, + "growthRate": 0.0008, + "worldPercentage": 0.0002, + "density": 640.6685, + "densityMi": 1659.3313, + "rank": 157 + }, + { + "place": 196, + "pop1980": 679327, + "pop2000": 948237, + "pop2010": 1129686, + "pop2022": 1251488, + "pop2023": 1260138, + "pop2030": 1311784, + "pop2050": 1391785, + "country": "Cyprus", + "area": 9251, + "landAreaKm": 9240, + "cca2": "CY", + "cca3": "CYP", + "netChange": 0.0003, + "growthRate": 0.0069, + "worldPercentage": 0.0002, + "density": 136.3786, + "densityMi": 353.2205, + "rank": 158 + }, + { + "place": 748, + "pop1980": 598564, + "pop2000": 1030496.0000000001, + "pop2010": 1099920, + "pop2022": 1201670, + "pop2023": 1210822, + "pop2030": 1305985, + "pop2050": 1655121, + "country": "Eswatini", + "area": 17364, + "landAreaKm": 17200, + "cca2": "SZ", + "cca3": "SWZ", + "netChange": 0.0003, + "growthRate": 0.0076, + "worldPercentage": 0.0002, + "density": 70.3966, + "densityMi": 182.3273, + "rank": 159 + }, + { + "place": 262, + "pop1980": 324121, + "pop2000": 742033, + "pop2010": 919199, + "pop2022": 1120849, + "pop2023": 1136455, + "pop2030": 1247129, + "pop2050": 1502575, + "country": "Djibouti", + "area": 23200, + "landAreaKm": 23180, + "cca2": "DJ", + "cca3": "DJI", + "netChange": 0.0005, + "growthRate": 0.0139, + "worldPercentage": 0.0001, + "density": 49.0274, + "densityMi": 126.981, + "rank": 160 + }, + { + "place": 638, + "pop1980": 551674, + "pop2000": 785424, + "pop2010": 890130, + "pop2022": 974052, + "pop2023": 981796, + "pop2030": 1031821.9999999999, + "pop2050": 1127252, + "country": "Reunion", + "area": 2511, + "landAreaKm": 2512, + "cca2": "RE", + "cca3": "REU", + "netChange": 0.0002, + "growthRate": 0.008, + "worldPercentage": 0.0001, + "density": 390.8424, + "densityMi": 1012.2817, + "rank": 161 + }, + { + "place": 242, + "pop1980": 644582, + "pop2000": 832509, + "pop2010": 905169, + "pop2022": 929766, + "pop2023": 936375, + "pop2030": 986172, + "pop2050": 1094174, + "country": "Fiji", + "area": 18272, + "landAreaKm": 18270, + "cca2": "FJ", + "cca3": "FJI", + "netChange": 0.0002, + "growthRate": 0.0071, + "worldPercentage": 0.0001, + "density": 51.2521, + "densityMi": 132.7428, + "rank": 162 + }, + { + "place": 174, + "pop1980": 328328, + "pop2000": 536758, + "pop2010": 656024, + "pop2022": 836774, + "pop2023": 852075, + "pop2030": 959412, + "pop2050": 1246207, + "country": "Comoros", + "area": 1862, + "landAreaKm": 1861, + "cca2": "KM", + "cca3": "COM", + "netChange": 0.0005, + "growthRate": 0.0183, + "worldPercentage": 0.0001, + "density": 457.8587, + "densityMi": 1185.854, + "rank": 163 + }, + { + "place": 328, + "pop1980": 778176, + "pop2000": 759051, + "pop2010": 747932, + "pop2022": 808726, + "pop2023": 813834, + "pop2030": 848033, + "pop2050": 878746, + "country": "Guyana", + "area": 214969, + "landAreaKm": 196850, + "cca2": "GY", + "cca3": "GUY", + "netChange": 0.0002, + "growthRate": 0.0063, + "worldPercentage": 0.0001, + "density": 4.1343, + "densityMi": 10.7078, + "rank": 164 + }, + { + "place": 64, + "pop1980": 415257, + "pop2000": 587207, + "pop2010": 705516, + "pop2022": 782455, + "pop2023": 787424, + "pop2030": 821498, + "pop2050": 874294, + "country": "Bhutan", + "area": 38394, + "landAreaKm": 38140, + "cca2": "BT", + "cca3": "BTN", + "netChange": 0.0002, + "growthRate": 0.0064, + "worldPercentage": 0.0001, + "density": 20.6456, + "densityMi": 53.4722, + "rank": 165 + }, + { + "place": 90, + "pop1980": 233668, + "pop2000": 429978, + "pop2010": 540394, + "pop2022": 724273, + "pop2023": 740424, + "pop2030": 856264, + "pop2050": 1225407, + "country": "Solomon Islands", + "area": 28896, + "landAreaKm": 27990, + "cca2": "SB", + "cca3": "SLB", + "netChange": 0.0005, + "growthRate": 0.0223, + "worldPercentage": 0.0001, + "density": 26.4532, + "densityMi": 68.5137, + "rank": 166 + }, + { + "place": 446, + "pop1980": 245332, + "pop2000": 431896, + "pop2010": 557297, + "pop2022": 695168, + "pop2023": 704149, + "pop2030": 763371, + "pop2050": 881666, + "country": "Macau", + "area": 32.9, + "landAreaKm": 32.9, + "cca2": "MO", + "cca3": "MAC", + "netChange": 0.0003, + "growthRate": 0.0129, + "worldPercentage": 0.0001, + "density": 21402.7052, + "densityMi": 55433.0064, + "rank": 167 + }, + { + "place": 442, + "pop1980": 363741, + "pop2000": 435628, + "pop2010": 507070, + "pop2022": 647599, + "pop2023": 654768, + "pop2030": 697086, + "pop2050": 781910, + "country": "Luxembourg", + "area": 2586, + "landAreaKm": 2574.5, + "cca2": "LU", + "cca3": "LUX", + "netChange": 0.0002, + "growthRate": 0.0111, + "worldPercentage": 0.0001, + "density": 254.3282, + "densityMi": 658.7101, + "rank": 168 + }, + { + "place": 499, + "pop1980": 589324, + "pop2000": 633324, + "pop2010": 631044, + "pop2022": 627082, + "pop2023": 626485, + "pop2030": 621696, + "pop2050": 586385, + "country": "Montenegro", + "area": 13812, + "landAreaKm": 13450, + "cca2": "ME", + "cca3": "MNE", + "netChange": 0, + "growthRate": -0.001, + "worldPercentage": 0.0001, + "density": 46.5788, + "densityMi": 120.6391, + "rank": 169 + }, + { + "place": 740, + "pop1980": 375112, + "pop2000": 478998, + "pop2010": 546080, + "pop2022": 618040, + "pop2023": 623236, + "pop2030": 659508, + "pop2050": 725519, + "country": "Suriname", + "area": 163820, + "landAreaKm": 156000, + "cca2": "SR", + "cca3": "SUR", + "netChange": 0.0002, + "growthRate": 0.0084, + "worldPercentage": 0.0001, + "density": 3.9951, + "densityMi": 10.3473, + "rank": 170 + }, + { + "place": 132, + "pop1980": 317234, + "pop2000": 458251, + "pop2010": 521212, + "pop2022": 593149, + "pop2023": 598682, + "pop2030": 638840, + "pop2050": 727457, + "country": "Cape Verde", + "area": 4033, + "landAreaKm": 4033, + "cca2": "CV", + "cca3": "CPV", + "netChange": 0.0002, + "growthRate": 0.0093, + "worldPercentage": 0.0001, + "density": 148.4458, + "densityMi": 384.4747, + "rank": 171 + }, + { + "place": 732, + "pop1980": 116775, + "pop2000": 270375, + "pop2010": 413296, + "pop2022": 575986, + "pop2023": 587259, + "pop2030": 662726, + "pop2050": 851067, + "country": "Western Sahara", + "area": 266000, + "landAreaKm": 266000, + "cca2": "EH", + "cca3": "ESH", + "netChange": 0.0004, + "growthRate": 0.0196, + "worldPercentage": 0.0001, + "density": 2.2077, + "densityMi": 5.718, + "rank": 172 + }, + { + "place": 470, + "pop1980": 333587, + "pop2000": 399212, + "pop2010": 418755, + "pop2022": 533286, + "pop2023": 535064, + "pop2030": 543425, + "pop2050": 522736.99999999994, + "country": "Malta", + "area": 316, + "landAreaKm": 320, + "cca2": "MT", + "cca3": "MLT", + "netChange": 0.0001, + "growthRate": 0.0033, + "worldPercentage": 0.0001, + "density": 1672.075, + "densityMi": 4330.6743, + "rank": 173 + }, + { + "place": 462, + "pop1980": 164887, + "pop2000": 282507, + "pop2010": 361575, + "pop2022": 523787.00000000006, + "pop2023": 521020.99999999994, + "pop2030": 512683, + "pop2050": 569909, + "country": "Maldives", + "area": 300, + "landAreaKm": 300, + "cca2": "MV", + "cca3": "MDV", + "netChange": -0.0001, + "growthRate": -0.0053, + "worldPercentage": 0.0001, + "density": 1736.7367, + "densityMi": 4498.148, + "rank": 174 + }, + { + "place": 96, + "pop1980": 187921, + "pop2000": 333926, + "pop2010": 396053, + "pop2022": 449002, + "pop2023": 452524, + "pop2030": 473312, + "pop2050": 498373, + "country": "Brunei", + "area": 5765, + "landAreaKm": 5270, + "cca2": "BN", + "cca3": "BRN", + "netChange": 0.0001, + "growthRate": 0.0078, + "worldPercentage": 0.0001, + "density": 85.8679, + "densityMi": 222.3979, + "rank": 175 + }, + { + "place": 44, + "pop1980": 223752, + "pop2000": 325014, + "pop2010": 373272, + "pop2022": 409984, + "pop2023": 412623, + "pop2030": 429846, + "pop2050": 450625, + "country": "Bahamas", + "area": 13943, + "landAreaKm": 10010, + "cca2": "BS", + "cca3": "BHS", + "netChange": 0.0001, + "growthRate": 0.0064, + "worldPercentage": 0.0001, + "density": 41.2211, + "densityMi": 106.7626, + "rank": 176 + }, + { + "place": 84, + "pop1980": 145133, + "pop2000": 240406, + "pop2010": 322106, + "pop2022": 405272, + "pop2023": 410825, + "pop2030": 450428, + "pop2050": 538838, + "country": "Belize", + "area": 22966, + "landAreaKm": 22810, + "cca2": "BZ", + "cca3": "BLZ", + "netChange": 0.0002, + "growthRate": 0.0137, + "worldPercentage": 0.0001, + "density": 18.0107, + "densityMi": 46.6478, + "rank": 177 + }, + { + "place": 312, + "pop1980": 334234, + "pop2000": 424067, + "pop2010": 403072, + "pop2022": 395752, + "pop2023": 395839, + "pop2030": 399728, + "pop2050": 388861, + "country": "Guadeloupe", + "area": 1628, + "landAreaKm": 1628, + "cca2": "GP", + "cca3": "GLP", + "netChange": 0, + "growthRate": 0.0002, + "worldPercentage": 0, + "density": 243.1443, + "densityMi": 629.7439, + "rank": 178 + }, + { + "place": 352, + "pop1980": 228263, + "pop2000": 281462, + "pop2010": 318333, + "pop2022": 372899, + "pop2023": 375318, + "pop2030": 390338, + "pop2050": 408783, + "country": "Iceland", + "area": 103000, + "landAreaKm": 100830, + "cca2": "IS", + "cca3": "ISL", + "netChange": 0.0001, + "growthRate": 0.0065, + "worldPercentage": 0, + "density": 3.7223, + "densityMi": 9.6407, + "rank": 179 + }, + { + "place": 474, + "pop1980": 333786, + "pop2000": 432543, + "pop2010": 392181, + "pop2022": 367507, + "pop2023": 366981, + "pop2030": 362472, + "pop2050": 330121, + "country": "Martinique", + "area": 1128, + "landAreaKm": 1128, + "cca2": "MQ", + "cca3": "MTQ", + "netChange": 0, + "growthRate": -0.0014, + "worldPercentage": 0, + "density": 325.3378, + "densityMi": 842.6248, + "rank": 180 + }, + { + "place": 175, + "pop1980": 52233, + "pop2000": 159215, + "pop2010": 211786, + "pop2022": 326101, + "pop2023": 335995, + "pop2030": 407579, + "pop2050": 664141, + "country": "Mayotte", + "area": 374, + "landAreaKm": 374, + "cca2": "YT", + "cca3": "MYT", + "netChange": 0.0003, + "growthRate": 0.0303, + "worldPercentage": 0, + "density": 898.3824, + "densityMi": 2326.8103, + "rank": 181 + }, + { + "place": 548, + "pop1980": 118156, + "pop2000": 192074, + "pop2010": 245453, + "pop2022": 326740, + "pop2023": 334506, + "pop2030": 391135, + "pop2050": 578567, + "country": "Vanuatu", + "area": 12189, + "landAreaKm": 12190, + "cca2": "VU", + "cca3": "VUT", + "netChange": 0.0002, + "growthRate": 0.0238, + "worldPercentage": 0, + "density": 27.441, + "densityMi": 71.0722, + "rank": 182 + }, + { + "place": 254, + "pop1980": 66825, + "pop2000": 164351, + "pop2010": 228453, + "pop2022": 304557, + "pop2023": 312155, + "pop2030": 366669, + "pop2050": 532459, + "country": "French Guiana", + "area": 83534, + "landAreaKm": 83534, + "cca2": "GF", + "cca3": "GUF", + "netChange": 0.0002, + "growthRate": 0.0249, + "worldPercentage": 0, + "density": 3.7369, + "densityMi": 9.6785, + "rank": 183 + }, + { + "place": 258, + "pop1980": 163591, + "pop2000": 250927, + "pop2010": 283788, + "pop2022": 306279, + "pop2023": 308872, + "pop2030": 324860, + "pop2050": 346933, + "country": "French Polynesia", + "area": 4167, + "landAreaKm": 3471, + "cca2": "PF", + "cca3": "PYF", + "netChange": 0.0001, + "growthRate": 0.0085, + "worldPercentage": 0, + "density": 88.9865, + "densityMi": 230.4749, + "rank": 184 + }, + { + "place": 540, + "pop1980": 148599, + "pop2000": 221537, + "pop2010": 261426, + "pop2022": 289950, + "pop2023": 292991, + "pop2030": 312529, + "pop2050": 353191, + "country": "New Caledonia", + "area": 18575, + "landAreaKm": 18280, + "cca2": "NC", + "cca3": "NCL", + "netChange": 0.0001, + "growthRate": 0.0105, + "worldPercentage": 0, + "density": 16.028, + "densityMi": 41.5124, + "rank": 185 + }, + { + "place": 52, + "pop1980": 253575, + "pop2000": 264657, + "pop2010": 274711, + "pop2022": 281635, + "pop2023": 281995, + "pop2030": 283082, + "pop2050": 267788, + "country": "Barbados", + "area": 430, + "landAreaKm": 430, + "cca2": "BB", + "cca3": "BRB", + "netChange": 0, + "growthRate": 0.0013, + "worldPercentage": 0, + "density": 655.8023, + "densityMi": 1698.528, + "rank": 186 + }, + { + "place": 678, + "pop1980": 97210, + "pop2000": 143714, + "pop2010": 182138, + "pop2022": 227380, + "pop2023": 231856, + "pop2030": 265036, + "pop2050": 366663, + "country": "Sao Tome and Principe", + "area": 964, + "landAreaKm": 960, + "cca2": "ST", + "cca3": "STP", + "netChange": 0.0001, + "growthRate": 0.0197, + "worldPercentage": 0, + "density": 241.5167, + "densityMi": 625.5282, + "rank": 187 + }, + { + "place": 882, + "pop1980": 164905, + "pop2000": 184008, + "pop2010": 194672, + "pop2022": 222382, + "pop2023": 225681, + "pop2030": 248627, + "pop2050": 320016, + "country": "Samoa", + "area": 2842, + "landAreaKm": 2780, + "cca2": "WS", + "cca3": "WSM", + "netChange": 0.0001, + "growthRate": 0.0148, + "worldPercentage": 0, + "density": 81.1802, + "densityMi": 210.2568, + "rank": 188 + }, + { + "place": 531, + "pop1980": 156851, + "pop2000": 141424, + "pop2010": 159380, + "pop2022": 191163, + "pop2023": 192077, + "pop2030": 197829, + "pop2050": 204084, + "country": "Curacao", + "area": 444, + "landAreaKm": 444, + "cca2": "CW", + "cca3": "CUW", + "netChange": 0, + "growthRate": 0.0048, + "worldPercentage": 0, + "density": 432.6059, + "densityMi": 1120.4492, + "rank": 189 + }, + { + "place": 662, + "pop1980": 121633, + "pop2000": 159500, + "pop2010": 170935, + "pop2022": 179857, + "pop2023": 180251, + "pop2030": 183274, + "pop2050": 177856, + "country": "Saint Lucia", + "area": 616, + "landAreaKm": 610, + "cca2": "LC", + "cca3": "LCA", + "netChange": 0, + "growthRate": 0.0022, + "worldPercentage": 0, + "density": 295.4934, + "densityMi": 765.328, + "rank": 190 + }, + { + "place": 316, + "pop1980": 110286, + "pop2000": 160188, + "pop2010": 164905, + "pop2022": 171774, + "pop2023": 172952, + "pop2030": 180746, + "pop2050": 195673, + "country": "Guam", + "area": 549, + "landAreaKm": 540, + "cca2": "GU", + "cca3": "GUM", + "netChange": 0, + "growthRate": 0.0069, + "worldPercentage": 0, + "density": 320.2815, + "densityMi": 829.529, + "rank": 191 + }, + { + "place": 296, + "pop1980": 60813, + "pop2000": 88826, + "pop2010": 107995, + "pop2022": 131232, + "pop2023": 133515, + "pop2030": 148720, + "pop2050": 188570, + "country": "Kiribati", + "area": 811, + "landAreaKm": 810, + "cca2": "KI", + "cca3": "KIR", + "netChange": 0.0001, + "growthRate": 0.0174, + "worldPercentage": 0, + "density": 164.8333, + "densityMi": 426.9183, + "rank": 192 + }, + { + "place": 308, + "pop1980": 94838, + "pop2000": 107432, + "pop2010": 114039, + "pop2022": 125438, + "pop2023": 126183, + "pop2030": 130366.99999999999, + "pop2050": 136253, + "country": "Grenada", + "area": 344, + "landAreaKm": 340, + "cca2": "GD", + "cca3": "GRD", + "netChange": 0, + "growthRate": 0.0059, + "worldPercentage": 0, + "density": 371.1265, + "densityMi": 961.2176, + "rank": 193 + }, + { + "place": 583, + "pop1980": 76299, + "pop2000": 111709, + "pop2010": 107588, + "pop2022": 114164, + "pop2023": 115224, + "pop2030": 122704, + "pop2050": 135457, + "country": "Micronesia", + "area": 702, + "landAreaKm": 700, + "cca2": "FM", + "cca3": "FSM", + "netChange": 0, + "growthRate": 0.0093, + "worldPercentage": 0, + "density": 164.6057, + "densityMi": 426.3288, + "rank": 194 + }, + { + "place": 832, + "pop1980": 75124, + "pop2000": 86192, + "pop2010": 96151, + "pop2022": 110778, + "pop2023": 111802, + "pop2030": 119047, + "pop2050": 135441, + "country": "Jersey", + "area": 116, + "landAreaKm": 120, + "cca2": "JE", + "cca3": "JEY", + "netChange": 0, + "growthRate": 0.0092, + "worldPercentage": 0, + "density": 931.6833, + "densityMi": 2413.0598, + "rank": 195 + }, + { + "place": 776, + "pop1980": 96708, + "pop2000": 102603, + "pop2010": 107383, + "pop2022": 106858, + "pop2023": 107773, + "pop2030": 114124, + "pop2050": 131225, + "country": "Tonga", + "area": 747, + "landAreaKm": 720, + "cca2": "TO", + "cca3": "TON", + "netChange": 0, + "growthRate": 0.0086, + "worldPercentage": 0, + "density": 149.6847, + "densityMi": 387.6834, + "rank": 196 + }, + { + "place": 690, + "pop1980": 65290.00000000001, + "pop2000": 80060, + "pop2010": 92409, + "pop2022": 107118, + "pop2023": 107660, + "pop2030": 111317, + "pop2050": 116644, + "country": "Seychelles", + "area": 452, + "landAreaKm": 460, + "cca2": "SC", + "cca3": "SYC", + "netChange": 0, + "growthRate": 0.0051, + "worldPercentage": 0, + "density": 234.0435, + "densityMi": 606.1726, + "rank": 197 + }, + { + "place": 533, + "pop1980": 62267, + "pop2000": 89101, + "pop2010": 100341, + "pop2022": 106445, + "pop2023": 106277, + "pop2030": 104924, + "pop2050": 94185, + "country": "Aruba", + "area": 180, + "landAreaKm": 180, + "cca2": "AW", + "cca3": "ABW", + "netChange": 0, + "growthRate": -0.0016, + "worldPercentage": 0, + "density": 590.4278, + "densityMi": 1529.2079, + "rank": 198 + }, + { + "place": 670, + "pop1980": 107480, + "pop2000": 113813, + "pop2010": 109308, + "pop2022": 103948, + "pop2023": 103698, + "pop2030": 104322, + "pop2050": 101691, + "country": "Saint Vincent and the Grenadines", + "area": 389, + "landAreaKm": 390, + "cca2": "VC", + "cca3": "VCT", + "netChange": 0, + "growthRate": -0.0024, + "worldPercentage": 0, + "density": 265.8923, + "densityMi": 688.6611, + "rank": 199 + }, + { + "place": 850, + "pop1980": 96640, + "pop2000": 108185, + "pop2010": 106142, + "pop2022": 99465, + "pop2023": 98750, + "pop2030": 93419, + "pop2050": 77519, + "country": "United States Virgin Islands", + "area": 347, + "landAreaKm": 347, + "cca2": "VI", + "cca3": "VIR", + "netChange": 0, + "growthRate": -0.0072, + "worldPercentage": 0, + "density": 284.5821, + "densityMi": 737.0677, + "rank": 200 + }, + { + "place": 28, + "pop1980": 64888.99999999999, + "pop2000": 75055, + "pop2010": 85695, + "pop2022": 93763, + "pop2023": 94298, + "pop2030": 97510, + "pop2050": 99030, + "country": "Antigua and Barbuda", + "area": 442, + "landAreaKm": 440, + "cca2": "AG", + "cca3": "ATG", + "netChange": 0, + "growthRate": 0.0057, + "worldPercentage": 0, + "density": 214.3136, + "densityMi": 555.0723, + "rank": 201 + }, + { + "place": 833, + "pop1980": 64022.00000000001, + "pop2000": 75562, + "pop2010": 83828, + "pop2022": 84519, + "pop2023": 84710, + "pop2030": 85798, + "pop2050": 86680, + "country": "Isle of Man", + "area": 572, + "landAreaKm": 570, + "cca2": "IM", + "cca3": "IMN", + "netChange": 0, + "growthRate": 0.0023, + "worldPercentage": 0, + "density": 148.614, + "densityMi": 384.9104, + "rank": 202 + }, + { + "place": 20, + "pop1980": 35611, + "pop2000": 66097, + "pop2010": 71519, + "pop2022": 79824, + "pop2023": 80088, + "pop2030": 81528, + "pop2050": 80504, + "country": "Andorra", + "area": 468, + "landAreaKm": 470, + "cca2": "AD", + "cca3": "AND", + "netChange": 0, + "growthRate": 0.0033, + "worldPercentage": 0, + "density": 170.4, + "densityMi": 441.336, + "rank": 203 + }, + { + "place": 212, + "pop1980": 72978, + "pop2000": 68346, + "pop2010": 68755, + "pop2022": 72737, + "pop2023": 73040, + "pop2030": 74988, + "pop2050": 74167, + "country": "Dominica", + "area": 751, + "landAreaKm": 750, + "cca2": "DM", + "cca3": "DMA", + "netChange": 0, + "growthRate": 0.0042, + "worldPercentage": 0, + "density": 97.3867, + "densityMi": 252.2315, + "rank": 204 + }, + { + "place": 136, + "pop1980": 17100, + "pop2000": 39658, + "pop2010": 54074, + "pop2022": 68706, + "pop2023": 69310, + "pop2030": 72865, + "pop2050": 77633, + "country": "Cayman Islands", + "area": 264, + "landAreaKm": 240, + "cca2": "KY", + "cca3": "CYM", + "netChange": 0, + "growthRate": 0.0088, + "worldPercentage": 0, + "density": 288.7917, + "densityMi": 747.9704, + "rank": 205 + }, + { + "place": 60, + "pop1980": 53565, + "pop2000": 61371, + "pop2010": 63447, + "pop2022": 64184, + "pop2023": 64069, + "pop2030": 62806, + "pop2050": 56041, + "country": "Bermuda", + "area": 54, + "landAreaKm": 54, + "cca2": "BM", + "cca3": "BMU", + "netChange": 0, + "growthRate": -0.0018, + "worldPercentage": 0, + "density": 1186.463, + "densityMi": 3072.9391, + "rank": 206 + }, + { + "place": 831, + "pop1980": 52860, + "pop2000": 59114, + "pop2010": 60782, + "pop2022": 63301, + "pop2023": 63544, + "pop2030": 65141.00000000001, + "pop2050": 66496, + "country": "Guernsey", + "area": 78, + "landAreaKm": 63, + "cca2": "GG", + "cca3": "GGY", + "netChange": 0, + "growthRate": 0.0038, + "worldPercentage": 0, + "density": 1008.6349, + "densityMi": 2612.3644, + "rank": 207 + }, + { + "place": 304, + "pop1980": 50106, + "pop2000": 56184, + "pop2010": 56351, + "pop2022": 56466, + "pop2023": 56643, + "pop2030": 57152, + "pop2050": 53997, + "country": "Greenland", + "area": 2166086, + "landAreaKm": 410450, + "cca2": "GL", + "cca3": "GRL", + "netChange": 0, + "growthRate": 0.0031, + "worldPercentage": 0, + "density": 0.138, + "densityMi": 0.3574, + "rank": 208 + }, + { + "place": 234, + "pop1980": 43054, + "pop2000": 45660, + "pop2010": 48410, + "pop2022": 53090, + "pop2023": 53270, + "pop2030": 54583, + "pop2050": 59444, + "country": "Faroe Islands", + "area": 1393, + "landAreaKm": 1366, + "cca2": "FO", + "cca3": "FRO", + "netChange": 0, + "growthRate": 0.0034, + "worldPercentage": 0, + "density": 38.9971, + "densityMi": 101.0024, + "rank": 209 + }, + { + "place": 580, + "pop1980": 17613, + "pop2000": 80338, + "pop2010": 54087, + "pop2022": 49551, + "pop2023": 49796, + "pop2030": 51178, + "pop2050": 50050, + "country": "Northern Mariana Islands", + "area": 464, + "landAreaKm": 460, + "cca2": "MP", + "cca3": "MNP", + "netChange": 0, + "growthRate": 0.0049, + "worldPercentage": 0, + "density": 108.2522, + "densityMi": 280.3731, + "rank": 210 + }, + { + "place": 659, + "pop1980": 43097, + "pop2000": 45461, + "pop2010": 47403, + "pop2022": 47657, + "pop2023": 47755, + "pop2030": 48247, + "pop2050": 46882, + "country": "Saint Kitts and Nevis", + "area": 261, + "landAreaKm": 260, + "cca2": "KN", + "cca3": "KNA", + "netChange": 0, + "growthRate": 0.0021, + "worldPercentage": 0, + "density": 183.6731, + "densityMi": 475.7133, + "rank": 211 + }, + { + "place": 796, + "pop1980": 7598, + "pop2000": 18744, + "pop2010": 29726, + "pop2022": 45703, + "pop2023": 46062, + "pop2030": 48538, + "pop2050": 52865, + "country": "Turks and Caicos Islands", + "area": 948, + "landAreaKm": 948, + "cca2": "TC", + "cca3": "TCA", + "netChange": 0, + "growthRate": 0.0079, + "worldPercentage": 0, + "density": 48.5886, + "densityMi": 125.8445, + "rank": 212 + }, + { + "place": 534, + "pop1980": 12243, + "pop2000": 30489, + "pop2010": 33034, + "pop2022": 44175, + "pop2023": 44222, + "pop2030": 44946, + "pop2050": 38947, + "country": "Sint Maarten", + "area": 34, + "landAreaKm": 34, + "cca2": "SX", + "cca3": "SXM", + "netChange": 0, + "growthRate": 0.0011, + "worldPercentage": 0, + "density": 1300.6471, + "densityMi": 3368.6759, + "rank": 213 + }, + { + "place": 16, + "pop1980": 32886, + "pop2000": 58230, + "pop2010": 54849, + "pop2022": 44273, + "pop2023": 43914, + "pop2030": 41142, + "pop2050": 33557, + "country": "American Samoa", + "area": 199, + "landAreaKm": 200, + "cca2": "AS", + "cca3": "ASM", + "netChange": 0, + "growthRate": -0.0081, + "worldPercentage": 0, + "density": 219.57, + "densityMi": 568.6863, + "rank": 214 + }, + { + "place": 584, + "pop1980": 31988, + "pop2000": 54224, + "pop2010": 53416, + "pop2022": 41569, + "pop2023": 41996, + "pop2030": 44733, + "pop2050": 51211, + "country": "Marshall Islands", + "area": 181, + "landAreaKm": 180, + "cca2": "MH", + "cca3": "MHL", + "netChange": 0, + "growthRate": 0.0103, + "worldPercentage": 0, + "density": 233.3111, + "densityMi": 604.2758, + "rank": 215 + }, + { + "place": 438, + "pop1980": 25003, + "pop2000": 33026, + "pop2010": 35926, + "pop2022": 39327, + "pop2023": 39584, + "pop2030": 41030, + "pop2050": 42287, + "country": "Liechtenstein", + "area": 160, + "landAreaKm": 160, + "cca2": "LI", + "cca3": "LIE", + "netChange": 0, + "growthRate": 0.0065, + "worldPercentage": 0, + "density": 247.4, + "densityMi": 640.766, + "rank": 216 + }, + { + "place": 492, + "pop1980": 27076, + "pop2000": 32465.000000000004, + "pop2010": 33178, + "pop2022": 36469, + "pop2023": 36297, + "pop2030": 35862, + "pop2050": 37664, + "country": "Monaco", + "area": 2.02, + "landAreaKm": 2, + "cca2": "MC", + "cca3": "MCO", + "netChange": 0, + "growthRate": -0.0047, + "worldPercentage": 0, + "density": 18148.5, + "densityMi": 47004.615, + "rank": 217 + }, + { + "place": 674, + "pop1980": 21346, + "pop2000": 26823, + "pop2010": 31608, + "pop2022": 33660, + "pop2023": 33642, + "pop2030": 33458, + "pop2050": 32043.999999999996, + "country": "San Marino", + "area": 61, + "landAreaKm": 60, + "cca2": "SM", + "cca3": "SMR", + "netChange": null, + "growthRate": -0.0005, + "worldPercentage": 0, + "density": 560.7, + "densityMi": 1452.213, + "rank": 218 + }, + { + "place": 292, + "pop1980": 28734, + "pop2000": 27741, + "pop2010": 31262, + "pop2022": 32649, + "pop2023": 32688.000000000004, + "pop2030": 32771, + "pop2050": 31356, + "country": "Gibraltar", + "area": 6.8, + "landAreaKm": 6.8, + "cca2": "GI", + "cca3": "GIB", + "netChange": 0, + "growthRate": 0.0012, + "worldPercentage": 0, + "density": 4807.0588, + "densityMi": 12450.2824, + "rank": 219 + }, + { + "place": 663, + "pop1980": 7776, + "pop2000": 29610, + "pop2010": 36458, + "pop2022": 31791, + "pop2023": 32077, + "pop2030": 33508, + "pop2050": 35453, + "country": "Saint Martin", + "area": 53, + "landAreaKm": 50, + "cca2": "MF", + "cca3": "MAF", + "netChange": 0, + "growthRate": 0.009, + "worldPercentage": 0, + "density": 641.54, + "densityMi": 1661.5886, + "rank": 220 + }, + { + "place": 92, + "pop1980": 11109, + "pop2000": 20104, + "pop2010": 27556, + "pop2022": 31305, + "pop2023": 31538, + "pop2030": 32995, + "pop2050": 34768, + "country": "British Virgin Islands", + "area": 151, + "landAreaKm": 150, + "cca2": "VG", + "cca3": "VGB", + "netChange": 0, + "growthRate": 0.0074, + "worldPercentage": 0, + "density": 210.2533, + "densityMi": 544.5561, + "rank": 221 + }, + { + "place": 585, + "pop1980": 12252, + "pop2000": 19726, + "pop2010": 18540, + "pop2022": 18055, + "pop2023": 18058, + "pop2030": 17919, + "pop2050": 16689, + "country": "Palau", + "area": 459, + "landAreaKm": 460, + "cca2": "PW", + "cca3": "PLW", + "netChange": null, + "growthRate": 0.0002, + "worldPercentage": 0, + "density": 39.2565, + "densityMi": 101.6744, + "rank": 222 + }, + { + "place": 184, + "pop1980": 17651, + "pop2000": 15897, + "pop2010": 17212, + "pop2022": 17011, + "pop2023": 17044, + "pop2030": 17253, + "pop2050": 17674, + "country": "Cook Islands", + "area": 240, + "landAreaKm": 240, + "cca2": "CK", + "cca3": "COK", + "netChange": 0, + "growthRate": 0.0019, + "worldPercentage": 0, + "density": 71.0167, + "densityMi": 183.9332, + "rank": 223 + }, + { + "place": 660, + "pop1980": 6560, + "pop2000": 11047, + "pop2010": 13172, + "pop2022": 15857, + "pop2023": 15899, + "pop2030": 16055, + "pop2050": 15294, + "country": "Anguilla", + "area": 91, + "landAreaKm": 91, + "cca2": "AI", + "cca3": "AIA", + "netChange": 0, + "growthRate": 0.0026, + "worldPercentage": 0, + "density": 174.7143, + "densityMi": 452.51, + "rank": 224 + }, + { + "place": 520, + "pop1980": 7635, + "pop2000": 10377, + "pop2010": 10241, + "pop2022": 12668, + "pop2023": 12780, + "pop2030": 13358, + "pop2050": 14695, + "country": "Nauru", + "area": 21, + "landAreaKm": 20, + "cca2": "NR", + "cca3": "NRU", + "netChange": 0, + "growthRate": 0.0088, + "worldPercentage": 0, + "density": 639, + "densityMi": 1655.01, + "rank": 225 + }, + { + "place": 876, + "pop1980": 11315, + "pop2000": 14723, + "pop2010": 13142, + "pop2022": 11572, + "pop2023": 11502, + "pop2030": 11229, + "pop2050": 11349, + "country": "Wallis and Futuna", + "area": 274, + "landAreaKm": 274, + "cca2": "WF", + "cca3": "WLF", + "netChange": 0, + "growthRate": -0.006, + "worldPercentage": 0, + "density": 41.9781, + "densityMi": 108.7233, + "rank": 226 + }, + { + "place": 798, + "pop1980": 7731, + "pop2000": 9638, + "pop2010": 10550, + "pop2022": 11312, + "pop2023": 11396, + "pop2030": 11917, + "pop2050": 13211, + "country": "Tuvalu", + "area": 26, + "landAreaKm": 30, + "cca2": "TV", + "cca3": "TUV", + "netChange": 0, + "growthRate": 0.0074, + "worldPercentage": 0, + "density": 379.8667, + "densityMi": 983.8547, + "rank": 227 + }, + { + "place": 652, + "pop1980": 2983, + "pop2000": 7082, + "pop2010": 8988, + "pop2022": 10967, + "pop2023": 10994, + "pop2030": 11113, + "pop2050": 10210, + "country": "Saint Barthelemy", + "area": 21, + "landAreaKm": 25, + "cca2": "BL", + "cca3": "BLM", + "netChange": null, + "growthRate": 0.0025, + "worldPercentage": 0, + "density": 439.76, + "densityMi": 1138.9784, + "rank": 228 + }, + { + "place": 666, + "pop1980": 6106, + "pop2000": 6274, + "pop2010": 6052, + "pop2022": 5862, + "pop2023": 5840, + "pop2030": 5651, + "pop2050": 5165, + "country": "Saint Pierre and Miquelon", + "area": 242, + "landAreaKm": 242, + "cca2": "PM", + "cca3": "SPM", + "netChange": null, + "growthRate": -0.0038, + "worldPercentage": null, + "density": 24.1322, + "densityMi": 62.5025, + "rank": 229 + }, + { + "place": 500, + "pop1980": 11452, + "pop2000": 5138, + "pop2010": 4938, + "pop2022": 4390, + "pop2023": 4386, + "pop2030": 4301, + "pop2050": 3781, + "country": "Montserrat", + "area": 102, + "landAreaKm": 102, + "cca2": "MS", + "cca3": "MSR", + "netChange": null, + "growthRate": -0.0009, + "worldPercentage": null, + "density": 43, + "densityMi": 111.37, + "rank": 230 + }, + { + "place": 238, + "pop1980": 2240, + "pop2000": 3080, + "pop2010": 3187, + "pop2022": 3780, + "pop2023": 3791, + "pop2030": 3869, + "pop2050": 3779, + "country": "Falkland Islands", + "area": 12173, + "landAreaKm": 12173, + "cca2": "FK", + "cca3": "FLK", + "netChange": null, + "growthRate": 0.0029, + "worldPercentage": null, + "density": 0.3114, + "densityMi": 0.8066, + "rank": 231 + }, + { + "place": 570, + "pop1980": 3637, + "pop2000": 2074, + "pop2010": 1812, + "pop2022": 1934, + "pop2023": 1935, + "pop2030": 1948, + "pop2050": 2096, + "country": "Niue", + "area": 261, + "landAreaKm": 261, + "cca2": "NU", + "cca3": "NIU", + "netChange": 0, + "growthRate": 0.0005, + "worldPercentage": null, + "density": 7.4138, + "densityMi": 19.2017, + "rank": 232 + }, + { + "place": 772, + "pop1980": 1647, + "pop2000": 1666, + "pop2010": 1367, + "pop2022": 1871, + "pop2023": 1893, + "pop2030": 2045.9999999999998, + "pop2050": 2430, + "country": "Tokelau", + "area": 12, + "landAreaKm": 10, + "cca2": "TK", + "cca3": "TKL", + "netChange": null, + "growthRate": 0.0118, + "worldPercentage": null, + "density": 189.3, + "densityMi": 490.287, + "rank": 233 + }, + { + "place": 336, + "pop1980": 733, + "pop2000": 651, + "pop2010": 596, + "pop2022": 510, + "pop2023": 518, + "pop2030": 561, + "pop2050": 731, + "country": "Vatican City", + "area": 0.44, + "landAreaKm": 0.44, + "cca2": "VA", + "cca3": "VAT", + "netChange": null, + "growthRate": 0.0157, + "worldPercentage": null, + "density": 1177.2727, + "densityMi": 3049.1364, + "rank": 234 + } + ] \ No newline at end of file diff --git a/data_visualisation/data_visualisation/data_loading.py b/data_visualisation/data_visualisation/data_loading.py new file mode 100644 index 00000000..471c6299 --- /dev/null +++ b/data_visualisation/data_visualisation/data_loading.py @@ -0,0 +1,52 @@ +import csv +import pandas as pd +import json + +import reflex as rx + + +def add_csv_data_to_db(data_file_path: str, model: rx.Model): + with open(data_file_path, mode="r", newline="", encoding="utf-8") as file: + reader = csv.DictReader( + file + ) # This automatically uses the first row as header names + + with rx.session() as session: + for row in reader: + # Create an instance of Model using dictionary unpacking + item = model(**row) + session.add(item) + session.commit() + + +def add_pandas_data_to_db(df: pd.DataFrame, model: rx.Model): + with rx.session() as session: + for index, row in df.iterrows(): + data_tuple = row.to_dict() + # Create an instance of Model using dictionary unpacking + item = model(**data_tuple) + session.add(item) + session.commit() + + +def loading_data(data_file_path: str, model: rx.Model): + try: + if data_file_path.endswith(".csv"): + # Open your CSV file + add_csv_data_to_db(data_file_path, model) + + if data_file_path.endswith(".xlsx"): + # Open your excel file + df = pd.read_excel(data_file_path) + add_pandas_data_to_db(df, model) + + if data_file_path.endswith(".json"): + # Open your json file + with open(data_file_path, "r") as file: + data = json.load(file) + df = pd.DataFrame(data) + add_pandas_data_to_db(df, model) + + except Exception as e: + print(f"An error occurred! You might have the wrong datafile for your Model. Here is the error: {e}") + diff --git a/data_visualisation/data_visualisation/data_visualisation.py b/data_visualisation/data_visualisation/data_visualisation.py index 23a64173..cc773a0f 100644 --- a/data_visualisation/data_visualisation/data_visualisation.py +++ b/data_visualisation/data_visualisation/data_visualisation.py @@ -1,50 +1,19 @@ """Welcome to Reflex! This file outlines the steps to create a basic app.""" from sqlmodel import select -import csv - import reflex as rx -# excel file, pandas dataframe, json file, database with data already in it. - -class Customer(rx.Model, table=True): - """The customer model.""" - - name: str - email: str - phone: str - address: str - - -class Cereals(rx.Model, table=True): - """The cereal model.""" +from data_visualisation.models import Customer, Cereals, Covid, Countries +from data_visualisation.data_loading import loading_data - name: str - mfr: str - type: str - calories: str - protein: str - fat: str - sodium: str - fiber: str - carbo: str - sugars: str - potass: str - vitamins: str - shelf: str - weight: str - cups: str - rating: str - -MODEL = Cereals -csv_file = "cereal.csv" +MODEL = Covid +data_file_path = "data_sources/covid_data.xlsx" class State(rx.State): """The app state.""" - # email: str = "" items: list[MODEL] = [] sort_value: str = "" num_items: int @@ -54,31 +23,12 @@ def handle_add_submit(self, form_data: dict): """Handle the form submit.""" self.current_item = form_data + def handle_update_submit(self, form_data: dict): """Handle the form submit.""" self.current_item.update(form_data) - def initial_add_items_to_db(self): - try: - # Open your CSV file - with open(csv_file, mode="r", newline="", encoding="utf-8") as file: - reader = csv.DictReader( - file - ) # This automatically uses the first row as header names - - # Assuming Reflex uses a session or similar for database operations - with rx.session() as session: - for row in reader: - # Create an instance of Model using dictionary unpacking - item = MODEL(**row) - # Add to the session and commit - session.add(item) - session.commit() - except Exception as e: - print(f"An error occurred: {e}") - - def load_entries(self) -> list[MODEL]: """Get all items from the database.""" with rx.session() as session: @@ -88,20 +38,23 @@ def load_entries(self) -> list[MODEL]: if self.sort_value: self.items = sorted( self.items, - key=lambda item: getattr(item, self.sort_value), # .lower() + key=lambda item: getattr(item, self.sort_value), ) + def sort_values(self, sort_value: str): self.sort_value = sort_value self.load_entries() + def get_item(self, item: MODEL): self.current_item = item + def add_item(self): """Add an item to the database.""" with rx.session() as session: - ## Later add in a check to see if a item has already been added + ## If need unique items on a certain column type add in a check to see if a item has already been added # if session.exec( # select(MODEL).where(MODEL.email == self.current_item["email"]) # ).first(): @@ -111,6 +64,7 @@ def add_item(self): self.load_entries() return rx.window_alert(f"Item has been added.") + def update_item(self): """Update an item in the database.""" with rx.session() as session: @@ -119,13 +73,13 @@ def update_item(self): ).first() for field in MODEL.get_fields(): - print(field) if field != "id": setattr(item, field, self.current_item[field]) session.add(item) session.commit() self.load_entries() + def delete_item(self, id: int): """Delete an item from the database.""" with rx.session() as session: @@ -134,18 +88,20 @@ def delete_item(self, id: int): session.commit() self.load_entries() + def on_load(self): # Check if the database is empty with rx.session() as session: # Attempt to retrieve the first entry in the MODEL table first_entry = session.exec(select(MODEL)).first() # If nothing was returned load data from the csv file - if first_entry is None and csv_file != "": - self.initial_add_items_to_db() + if first_entry is None and data_file_path != "": + loading_data(data_file_path, MODEL) self.load_entries() + def add_fields(field): return rx.flex( rx.text( @@ -340,6 +296,7 @@ def navbar(): backdrop_filter="blur(10px)", ) + def show_item(item: MODEL): """Show an item in a table row.""" return rx.table.row( @@ -362,6 +319,7 @@ def show_item(item: MODEL): ), ) + def content(): return rx.fragment( rx.vstack( @@ -399,7 +357,6 @@ def content(): ), ), rx.table.body(rx.foreach(State.items, show_item)), - # variant="surface", size="3", width="100%", ), diff --git a/data_visualisation/data_visualisation/models.py b/data_visualisation/data_visualisation/models.py new file mode 100644 index 00000000..30e0dcfc --- /dev/null +++ b/data_visualisation/data_visualisation/models.py @@ -0,0 +1,71 @@ +import reflex as rx + +class Customer(rx.Model, table=True): + """The customer model.""" + + name: str + email: str + phone: str + address: str + + +class Cereals(rx.Model, table=True): + """The cereal model.""" + + name: str + mfr: str + type: str + calories: str + protein: str + fat: str + sodium: str + fiber: str + carbo: str + sugars: str + potass: str + vitamins: str + shelf: str + weight: str + cups: str + rating: str + + +class Covid(rx.Model, table=True): + """The covid model.""" + + state: str + zone: str + total_cases: str + active: str + discharged: str + deaths: str + active_ratio: str + discharge_ratio: str + discharge_avg: str + death_ratio: str + death_avg: str + population: str + + +class Countries(rx.Model, table=True): + """The countries model.""" + + place: str + pop1980: str + pop2000: str + pop2010: str + pop2022: str + pop2023: str + pop2030: str + pop2050: str + country: str + area: str + landAreaKm: str + cca2: str + cca3: str + netChange: str + growthRate: str + worldPercentage: str + density: str + densityMi: str + rank: str \ No newline at end of file diff --git a/data_visualisation/requirements.txt b/data_visualisation/requirements.txt index 42d412f9..d582ddd0 100644 --- a/data_visualisation/requirements.txt +++ b/data_visualisation/requirements.txt @@ -1,2 +1,2 @@ reflex>=0.4.5 -psycopg2-binary \ No newline at end of file +psycopg2-binary