概要 实例 介绍 源码

世界地图

源文件:index.html

  1. <!DOCTYPE html>
  2. <meta charset="utf-8">
  3. <style>
  4. body {
  5. font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  6. width: 960px;
  7. height: 500px;
  8. position: relative;
  9. }
  10. #canvas {
  11. }
  12. #canvas-svg {
  13. }
  14. .land {
  15. fill: #222;
  16. }
  17. .boundary {
  18. fill: none;
  19. stroke: #fff;
  20. stroke-width: 1px;
  21. }
  22. #tooltip-container {
  23. position: absolute;
  24. background-color: #fff;
  25. color: #000;
  26. padding: 10px;
  27. border: 1px solid;
  28. display: none;
  29. }
  30. .tooltip_key {
  31. font-weight: bold;
  32. }
  33. .tooltip_value {
  34. margin-left: 20px;
  35. float: right;
  36. }
  37. </style>
  38. <div id="tooltip-container"></div>
  39. <div id="canvas-svg"></div>
  40. <script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.5/d3.min.js"></script>
  41. <script src="//cdnjs.cloudflare.com/ajax/libs/topojson/1.1.0/topojson.min.js"></script>
  42. <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
  43. <script>
  44. d3.csv("population.csv", function(err, data) {
  45. var config = {"data0":"Country (or dependent territory)","data1":"Population",
  46. "label0":"label 0","label1":"label 1","color0":"#99ccff","color1":"#0050A1",
  47. "width":960,"height":960}
  48. var width = config.width,
  49. height = config.height;
  50. var COLOR_COUNTS = 9;
  51. function Interpolate(start, end, steps, count) {
  52. var s = start,
  53. e = end,
  54. final = s + (((e - s) / steps) * count);
  55. return Math.floor(final);
  56. }
  57. function Color(_r, _g, _b) {
  58. var r, g, b;
  59. var setColors = function(_r, _g, _b) {
  60. r = _r;
  61. g = _g;
  62. b = _b;
  63. };
  64. setColors(_r, _g, _b);
  65. this.getColors = function() {
  66. var colors = {
  67. r: r,
  68. g: g,
  69. b: b
  70. };
  71. return colors;
  72. };
  73. }
  74. function hexToRgb(hex) {
  75. var result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hex);
  76. return result ? {
  77. r: parseInt(result[1], 16),
  78. g: parseInt(result[2], 16),
  79. b: parseInt(result[3], 16)
  80. } : null;
  81. }
  82. function valueFormat(d) {
  83. if (d > 1000000000) {
  84. return Math.round(d / 1000000000 * 10) / 10 + "B";
  85. } else if (d > 1000000) {
  86. return Math.round(d / 1000000 * 10) / 10 + "M";
  87. } else if (d > 1000) {
  88. return Math.round(d / 1000 * 10) / 10 + "K";
  89. } else {
  90. return d;
  91. }
  92. }
  93. var COLOR_FIRST = config.color0, COLOR_LAST = config.color1;
  94. var rgb = hexToRgb(COLOR_FIRST);
  95. var COLOR_START = new Color(rgb.r, rgb.g, rgb.b);
  96. rgb = hexToRgb(COLOR_LAST);
  97. var COLOR_END = new Color(rgb.r, rgb.g, rgb.b);
  98. var startColors = COLOR_START.getColors(),
  99. endColors = COLOR_END.getColors();
  100. var colors = [];
  101. for (var i = 0; i < COLOR_COUNTS; i++) {
  102. var r = Interpolate(startColors.r, endColors.r, COLOR_COUNTS, i);
  103. var g = Interpolate(startColors.g, endColors.g, COLOR_COUNTS, i);
  104. var b = Interpolate(startColors.b, endColors.b, COLOR_COUNTS, i);
  105. colors.push(new Color(r, g, b));
  106. }
  107. var MAP_KEY = config.data0;
  108. var MAP_VALUE = config.data1;
  109. var projection = d3.geo.mercator()
  110. .scale((width + 1) / 2 / Math.PI)
  111. .translate([width / 2, height / 2])
  112. .precision(.1);
  113. var path = d3.geo.path()
  114. .projection(projection);
  115. var graticule = d3.geo.graticule();
  116. var svg = d3.select("#canvas-svg").append("svg")
  117. .attr("width", width)
  118. .attr("height", height);
  119. svg.append("path")
  120. .datum(graticule)
  121. .attr("class", "graticule")
  122. .attr("d", path);
  123. var valueHash = {};
  124. function log10(val) {
  125. return Math.log(val);
  126. }
  127. data.forEach(function(d) {
  128. valueHash[d[MAP_KEY]] = +d[MAP_VALUE];
  129. });
  130. var quantize = d3.scale.quantize()
  131. .domain([0, 1.0])
  132. .range(d3.range(COLOR_COUNTS).map(function(i) { return i }));
  133. quantize.domain([d3.min(data, function(d){
  134. return (+d[MAP_VALUE]) }),
  135. d3.max(data, function(d){
  136. return (+d[MAP_VALUE]) })]);
  137. d3.json("https://s3-us-west-2.amazonaws.com/vida-public/geo/world-topo-min.json", function(error, world) {
  138. var countries = topojson.feature(world, world.objects.countries).features;
  139. svg.append("path")
  140. .datum(graticule)
  141. .attr("class", "choropleth")
  142. .attr("d", path);
  143. var g = svg.append("g");
  144. g.append("path")
  145. .datum({type: "LineString", coordinates: [[-180, 0], [-90, 0], [0, 0], [90, 0], [180, 0]]})
  146. .attr("class", "equator")
  147. .attr("d", path);
  148. var country = g.selectAll(".country").data(countries);
  149. country.enter().insert("path")
  150. .attr("class", "country")
  151. .attr("d", path)
  152. .attr("id", function(d,i) { return d.id; })
  153. .attr("title", function(d) { return d.properties.name; })
  154. .style("fill", function(d) {
  155. if (valueHash[d.properties.name]) {
  156. var c = quantize((valueHash[d.properties.name]));
  157. var color = colors[c].getColors();
  158. return "rgb(" + color.r + "," + color.g +
  159. "," + color.b + ")";
  160. } else {
  161. return "#ccc";
  162. }
  163. })
  164. .on("mousemove", function(d) {
  165. var html = "";
  166. html += "<div class=\"tooltip_kv\">";
  167. html += "<span class=\"tooltip_key\">";
  168. html += d.properties.name;
  169. html += "</span>";
  170. html += "<span class=\"tooltip_value\">";
  171. html += (valueHash[d.properties.name] ? valueFormat(valueHash[d.properties.name]) : "");
  172. html += "";
  173. html += "</span>";
  174. html += "</div>";
  175. $("#tooltip-container").html(html);
  176. $(this).attr("fill-opacity", "0.8");
  177. $("#tooltip-container").show();
  178. var coordinates = d3.mouse(this);
  179. var map_width = $('.choropleth')[0].getBoundingClientRect().width;
  180. if (d3.event.pageX < map_width / 2) {
  181. d3.select("#tooltip-container")
  182. .style("top", (d3.event.layerY + 15) + "px")
  183. .style("left", (d3.event.layerX + 15) + "px");
  184. } else {
  185. var tooltip_width = $("#tooltip-container").width();
  186. d3.select("#tooltip-container")
  187. .style("top", (d3.event.layerY + 15) + "px")
  188. .style("left", (d3.event.layerX - tooltip_width - 30) + "px");
  189. }
  190. })
  191. .on("mouseout", function() {
  192. $(this).attr("fill-opacity", "1.0");
  193. $("#tooltip-container").hide();
  194. });
  195. g.append("path")
  196. .datum(topojson.mesh(world, world.objects.countries, function(a, b) { return a !== b; }))
  197. .attr("class", "boundary")
  198. .attr("d", path);
  199. svg.attr("height", config.height * 2.2 / 3);
  200. });
  201. d3.select(self.frameElement).style("height", (height * 2.3 / 3) + "px");
  202. });
  203. </script>

源文件:population.csv

  1. Rank,Country (or dependent territory),Population,Date,"% of world
  2. population",Source
  3. 1,China,1367470000,10/24/2014,19%,Official population clock
  4. 2,India,1261420000,10/24/2014,17.50%,Population clock
  5. 3,United States,318964000,10/24/2014,4.43%,Official population clock
  6. 4,Indonesia,252164800,7/1/2014,3.50%,Official estimate
  7. 5,Brazil,203337000,10/24/2014,2.83%,Official population clock
  8. 6,Pakistan,188020000,7/1/2014,2.61%,Official annual projection
  9. 7,Nigeria,178517000,7/1/2014,2.48%,UN projection[6]
  10. 8,Bangladesh,157193000,10/24/2014,2.18%,Official population clock
  11. 9,Russian Federation,146149200,8/1/2014,2.03%,Official estimate
  12. 10,Japan,127090000,10/1/2014,1.77%,Monthly official estimate
  13. 11,Mexico,119713203,7/1/2014,1.66%,Official projection
  14. 12,Philippines,100440100,10/24/2014,1.40%,Official population clock
  15. 13,Viet Nam,89708900,7/1/2013,1.25%,Official estimate
  16. 14,Ethiopia,87952991,7/1/2014,1.22%,Official projection
  17. 15,Egypt,87371100,10/24/2014,1.21%,Official population clock
  18. 16,Germany,80767000,12/31/2013,1.12%,Official estimate
  19. 17,Iran,77838800,10/24/2014,1.08%,Official population clock
  20. 18,Turkey,76667864,12/31/2013,1.07%,Annual official estimate
  21. 19,"Democratic Republic of Congo",69360000,7/1/2014,0.96%,UN projection
  22. 20,France,66048000,10/1/2014,0.92%,Monthly official estimate
  23. 21,Thailand,64871000,7/1/2014,0.90%,Official estimate
  24. 22,United Kingdom,64105654,7/1/2013,0.89%,Annual official estimate
  25. 23,Italy,60780377,4/30/2014,0.84%,Monthly official estimate
  26. 24,South Africa,54002000,7/1/2014,0.75%,Official estimate
  27. 25,Myanmar,51419420,3/29/2014,0.71%,Preliminary 2014 census result
  28. 26,South Korea,50423955,7/1/2014,0.70%,Official projection
  29. 27,Colombia,47832200,10/24/2014,0.67%,Official population clock
  30. 28,Tanzania,47421786,7/1/2014,0.66%,Official Projection
  31. 29,Spain,46507800,1/1/2014,0.63%,Annual official estimate
  32. 30,Ukraine,42981850,8/1/2014,0.60%,Monthly official estimate
  33. 31,Argentina,42669500,7/1/2014,0.59%,Official annual projection
  34. 32,Kenya,41800000,7/1/2013,0.58%,Annual official estimate
  35. 33,Algeria,38700000,1/1/2014,0.54%,Official estimate
  36. 34,Poland,38496000,12/31/2013,0.53%,Official estimate
  37. 35,Sudan,37289406,7/1/2014,0.52%,Official annual projection
  38. 36,Uganda,36600000,7/1/2014,0.51%,Annual official estimate
  39. 37,Iraq,36004552,7/1/2014,0.50%,Official annual projection
  40. 38,Canada,35540419,7/1/2014,0.49%,Official estimate
  41. 39,Morocco,33414900,10/24/2014,0.46%,Official population clock
  42. 40,Peru,30814175,7/1/2014,0.43%,Official annual projection
  43. 41,Saudi Arabia,30770375,7/1/2014,0.43%,Official annual projection
  44. 42,Uzbekistan,30492800,1/1/2014,0.42%,Official estimate
  45. 43,Malaysia,30378300,10/24/2014,0.42%,Official population clock
  46. 44,Venezuela,30206307,6/30/2014,0.42%,Official annual projection
  47. 45,Ghana,27043093,7/1/2014,0.38%,Official annual projection
  48. 46,Nepal,26494504,6/22/2011,0.37%,Final 2011 census result
  49. 47,Afghanistan,26023100,7/1/2013,0.36%,Official estimate
  50. 48,Yemen,25956000,7/1/2014,0.36%,Official estimate
  51. 49,Mozambique,25041922,7/1/2014,0.35%,Annual official projection
  52. 50,North Korea,25027000,7/1/2014,0.35%,UN projection
  53. 51,Angola,24383301,5/16/2014,0.34%,Preliminary 2014 census result
  54. 52,Australia,23640800,10/24/2014,0.33%,Official population clock
  55. 53,Taiwan,23410280,9/30/2014,0.33%,Monthly official estimate
  56. 54,"Côte d'Ivoire",23202000,7/1/2012,0.32%,Official estimate
  57. 55,"Syrian Arab Republic",21987000,7/1/2014,0.31%,UN projection[13]
  58. 56,Madagascar,21263403,7/1/2012,0.30%,Annual official estimate
  59. 57,Cameroon,20386799,7/1/2012,0.28%,Official estimate
  60. 58,Sri Lanka,20277597,3/21/2012,0.28%,Preliminary 2012 census result
  61. 59,Romania,19942642,1/1/2014,0.28%,Annual official estimate
  62. 60,Chile,17819054,7/1/2014,0.25%,Official annual projection
  63. 61,Kazakhstan,17330000,9/1/2014,0.24%,Monthly official estimate
  64. 62,Burkina Faso,17322796,7/1/2013,0.24%,Official estimate
  65. 63,Niger,17138707,12/10/2012,0.24%,Preliminary 2012 census result
  66. 64,Netherlands,16873600,10/24/2014,0.23%,Official population clock
  67. 65,Ecuador,15852800,10/24/2014,0.22%,Official population clock
  68. 66,Guatemala,15806675,6/30/2014,0.22%,Official estimate
  69. 67,Malawi,15805239,7/1/2014,0.22%,Official annual projection
  70. 68,Mali,15768000,7/1/2014,0.22%,UN projection
  71. 69,Cambodia,15184116,7/1/2014,0.21%,Official annual projection
  72. 70,Zambia,15023315,7/1/2014,0.21%,Official estimate
  73. 71,Senegal,13508715,11/19/2013,0.19%,2013 census result
  74. 72,Chad,13211000,7/1/2014,0.18%,UN projection
  75. 73,Zimbabwe,13061239,8/17/2012,0.18%,2012 Census Result
  76. 74,South Sudan,11384393,7/1/2014,0.16%,Official annual projection
  77. 75,Belgium,11215442,9/1/2014,0.16%,Monthly official estimate
  78. 76,Cuba,11210064,12/31/2013,0.16%,Annual official estimate
  79. 77,Rwanda,10996891,7/1/2014,0.15%,Official annual projection
  80. 78,Greece,10992589,1/1/2014,0.15%,Official estimate
  81. 79,Tunisia,10982754,4/23/2014,0.15%,Preliminary 2014 census result
  82. 80,Somalia,10806000,7/1/2014,0.15%,UN projection
  83. 81,Haiti,10745665,2014,0.15%,Official projection
  84. 82,Guinea,10628972,4/2/2014,0.15%,Preliminary 2014 census result
  85. 83,Czech Republic,10521600,6/30/2014,0.15%,Official quarterly estimate
  86. 84,Portugal,10477800,12/31/2013,0.15%,Annual official estimate
  87. 85,Dominican Republic,10378267,2014,0.14%,Official estimate
  88. 86,"Bolivia, Plurinational State of",10027254,11/21/2012,0.14%,2012 census result
  89. 87,Benin,9988068,7/1/2014,0.14%,Official annual projection
  90. 88,Hungary,9879000,1/1/2014,0.14%,Annual official estimate
  91. 89,Sweden,9716962,8/31/2014,0.14%,Monthly official estimate
  92. 90,Azerbaijan,9540400,8/1/2014,0.13%,Official estimate
  93. 91,Burundi,9530434,7/1/2014,0.13%,Official annual projection
  94. 92,Belarus,9469200,7/1/2014,0.13%,Quarterly official estimate
  95. 93,United Arab Emirates,9446000,7/1/2014,0.13%,UN projection
  96. 94,Honduras,8725111,7/1/2014,0.12%,Annual official estimate
  97. 95,Austria,8527230,4/1/2014,0.12%,Official quarterly estimate
  98. 96,Israel,8238300,8/31/2014,0.11%,Official Monthly Estimate
  99. 97,Switzerland,8183800,6/30/2014,0.11%,Quarterly provisional figure
  100. 98,Tajikistan,8161000,1/1/2014,0.11%,Official estimate
  101. 99,Papua New Guinea,7398500,7/1/2013,0.10%,Annual official estimate
  102. 100,Bulgaria,7245677,12/31/2013,0.10%,Official estimate
  103. 101,* Hong Kong* (China),7234800,7/1/2014,0.10%,Official estimate
  104. 102,Serbia,7146759,1/1/2014,0.10%,Annual official estimate
  105. 103,Togo,6993000,7/1/2014,0.10%,UN projection
  106. 104,Paraguay,6893727,2014,0.10%,Official estimate
  107. 105,"Lao People's Democratic Republic",6693300,7/1/2014,0.09%,Annual official projection
  108. 106,Jordan,6646840,10/24/2014,0.09%,Official population clock
  109. 107,Eritrea,6536000,7/1/2014,0.09%,UN projection
  110. 108,El Salvador,6401240,2014,0.09%,Official estimate
  111. 109,Libya,6253000,7/1/2014,0.09%,UN projection
  112. 110,Sierra Leone,6205000,7/1/2014,0.09%,UN projection
  113. 111,Nicaragua,6146400,2013,0.09%,Official estimate
  114. 112,Turkmenistan,5824960,10/24/2014,0.08%,Official population clock
  115. 113,Kyrgyzstan,5776570,2014,0.08%,Official estimate
  116. 114,Denmark,5639719,7/1/2014,0.08%,Quarterly official estimate
  117. 115,Singapore,5469700,7/1/2014,0.08%,Official estimate
  118. 116,Finland,5468609,9/30/2014,0.08%,Monthly official estimate
  119. 117,Slovakia,5415949,12/31/2013,0.08%,Official estimate
  120. 118,Norway,5137679,7/1/2014,0.07%,Quarterly official estimate
  121. 119,Central African Republic,4709000,7/1/2014,0.07%,UN projection
  122. 120,Costa Rica,4667096,7/1/2013,0.07%,Official estimate
  123. 121,Ireland,4609600,4/1/2014,0.06%,Annual official estimate
  124. 122,Congo,4559000,7/1/2014,0.06%,UN projection
  125. 123,* Palestine*,4550368,7/1/2014,0.06%,Official estimate
  126. 124,New Zealand,4536140,10/24/2014,0.06%,Official population clock
  127. 125,Georgia,4490500,1/1/2014,0.06%,Annual official estimate
  128. 126,Liberia,4397000,7/1/2014,0.06%,UN projection
  129. 127,Croatia,4267558,7/1/2012,0.06%,Annual official estimate
  130. 128,Lebanon,4104000,7/1/2012,0.06%,Official estimate
  131. 129,Oman,4071147,10/22/2014,0.06%,Weekly official estimate
  132. 130,Bosnia and Herzegovina,3791622,10/15/2013,0.05%,Preliminary 2013 census result
  133. 131,Panama,3713312,2014,0.05%,Official estimate
  134. 132,* Puerto Rico* (USA),3615086,7/1/2013,0.05%,Official estimate
  135. 133,"Moldova, Republic of",3557600,1/1/2014,0.05%,Official estimate
  136. 134,Mauritania,3545620,7/1/2014,0.05%,Annual official estimate
  137. 135,Uruguay,3404189,6/30/2014,0.05%,Annual official estimate
  138. 136,Kuwait,3065850,7/1/2011,0.04%,Official estimate
  139. 137,Armenia,3009800,6/30/2014,0.04%,Monthly official estimate
  140. 138,Mongolia,2978997,10/24/2014,0.04%,Official population clock
  141. 139,Lithuania,2927310,10/1/2014,0.04%,Monthly official estimate
  142. 140,Albania,2895947,1/1/2014,0.04%,Annual official estimate
  143. 141,Jamaica,2717991,12/31/2013,0.04%,Annual official estimate
  144. 142,Qatar,2187326,9/30/2014,0.03%,Monthly official estimate
  145. 143,Namibia,2113077,8/28/2011,0.03%,Final 2011 census result
  146. 144,Lesotho,2098000,7/1/2014,0.03%,UN projection
  147. 145,"Macedonia, the former Yugoslav Republic of",2065769,12/31/2013,0.03%,Official estimate
  148. 146,Slovenia,2064394,10/24/2014,0.03%,Official population clock
  149. 147,Botswana,2024904,8/22/2011,0.03%,Final 2011 census result
  150. 148,Latvia,1991800,10/1/2014,0.03%,Monthly official estimate
  151. 149,Gambia,1882450,4/15/2013,0.03%,Preliminary 2013 census result
  152. 150,Kosovo,1816891,2014,0.03%,Official annual projection
  153. 151,Guinea-Bissau,1746000,7/1/2014,0.02%,UN projection
  154. 152,Gabon,1711000,7/1/2014,0.02%,UN projection
  155. 153,Equatorial Guinea,1430000,7/1/2013,0.02%,Annual official estimate
  156. 154,Trinidad and Tobago,1328019,1/9/2011,0.02%,2011 census result
  157. 155,Bahrain,1316500,7/1/2014,0.02%,Official annual projection
  158. 156,Estonia,1315819,1/1/2014,0.02%,Official estimate
  159. 157,Mauritius,1261208,7/1/2014,0.02%,Official estimate
  160. 158,Timor-Leste,1212107,7/1/2014,0.02%,Official estimate
  161. 159,Swaziland,1106189,7/1/2014,0.02%,Official projection
  162. 160,Djibouti,886000,7/1/2014,0.01%,UN projection
  163. 161,Fiji,859178,7/1/2013,0.01%,Annual official estimate
  164. 162,Cyprus,858000,1/1/2014,0.01%,Official estimate
  165. 163,* Réunion* (France),840974,1/1/2013,0.01%,Official annual estimate
  166. 164,Guyana,784894,7/1/2010,0.01%,Annual official estimate
  167. 165,Comoros,763952,7/1/2014,0.01%,Official estimate
  168. 166,Bhutan,753160,10/24/2014,0.01%,Official population clock
  169. 167,Montenegro,620029,4/1/2011,0.01%,Final 2011 census result
  170. 168,* Macau* (China),614500,3/31/2014,0.01%,Official quaterly estimate
  171. 169,Western Sahara,586000,7/1/2014,0.01%,UN projection
  172. 170,Solomon Islands,581344,7/1/2013,0.01%,Annual official estimate
  173. 171,Luxembourg,549700,12/31/2013,0.01%,Annual official estimate
  174. 172,Suriname,534189,8/13/2012,0.01%,Preliminary 2012 census result
  175. 173,Cape Verde,518467,7/1/2014,0.01%,Official annual projection
  176. ,Transnistria,505153,1/1/2014,0.01%,Official estimate
  177. 174,Malta,416055,11/20/2011,0.01%,Preliminary 2011 census result
  178. 175,* Guadeloupe* (France),405739,1/1/2013,0.01%,Official annual estimate
  179. 176,Brunei,393372,6/20/2011,0.01%,Preliminary 2011 census result
  180. 177,* Martinique* (France),386486,1/1/2013,0.01%,Official annual estimate
  181. 178,Bahamas,368390,7/1/2013,0.01%,Annual official estimate
  182. 179,Belize,349728,7/1/2013,0.00%,Official estimate
  183. 180,Maldives,341848,7/1/2014,0.00%,Official estimate
  184. 181,Iceland,328170,10/1/2014,0.00%,Official quaterly estimate
  185. ,Northern Cyprus,294906,4/30/2006,0.00%,Official census
  186. 182,Barbados,285000,7/1/2013,0.00%,Official estimate
  187. 183,* French Polynesia* (France),268270,8/22/2012,0.00%,Preliminary 2012 census result
  188. 184,Vanuatu,264652,7/1/2013,0.00%,Annual official estimate
  189. 185,* New Caledonia* (France),258958,7/1/2013,0.00%,Annual official estimate
  190. ,Abkhazia,240705,2011,0.00%,Official census
  191. 186,Franch Guyana,237549,1/1/2011,0.00%,Official annual estimate
  192. 187,* Mayotte* (France),212645,8/21/2012,0.00%,2012 census result
  193. 188,Samoa,187820,11/7/2011,0.00%,Final 2011 census result
  194. 189,São Tomé and Príncipe,187356,5/13/2012,0.00%,2012 census result
  195. 190,Saint Lucia,184000,7/1/2014,0.00%,UN projection
  196. 191,* Guam* (USA),159358,4/1/2010,0.00%,Final 2010 census result
  197. 192,* Curaçao* (Netherlands),150563,3/26/2011,0.00%,2011 census result
  198. 193,Saint Vincent and the Grenadines,109000,7/1/2014,0.00%,UN projection
  199. 194,Kiribati,106461,7/1/2013,0.00%,Annual official estimate
  200. 195,* United States Virgin Islands* (USA),106405,4/1/2010,0.00%,Final 2010 census result
  201. 196,Grenada,103328,5/12/2011,0.00%,2011 census result
  202. 197,Tonga,103252,11/30/2011,0.00%,2011 census result
  203. 198,* Aruba* (Netherlands),101484,9/29/2010,0.00%,2010 census result
  204. 199,Federated States of Micronesia,101351,7/1/2013,0.00%,Annual official estimate
  205. 200,* Jersey* (UK),99000,12/31/2012,0.00%,Annual official estimate
  206. 201,Seychelles,89949,7/1/2013,0.00%,Annual official estimate
  207. 202,Antigua and Barbuda,86295,5/27/2011,0.00%,Preliminary 2011 census result
  208. 203,* Isle of Man* (UK),84497,3/27/2011,0.00%,2011 census result
  209. 204,Andorra,76098,7/1/2013,0.00%,Annual official estimate
  210. 205,Dominica,71293,5/14/2011,0.00%,Preliminary 2011 census result
  211. 206,* Bermuda* (UK),64237,5/20/2010,0.00%,Final 2010 census result
  212. 207,* Guernsey* (UK),63085,3/31/2012,0.00%,Annual official estimate
  213. 208,Greenland,56295,7/1/2014,0.00%,Annual official estimate
  214. 209,Marshall Islands,56086,7/1/2013,0.00%,Annual official estimate
  215. 210,* American Samoa* (USA),55519,4/1/2010,0.00%,Final 2010 census result
  216. 211,* Cayman Islands* (UK),55456,10/10/2010,0.00%,Final 2010 census result
  217. 212,Saint Kitts and Nevis,55000,7/1/2014,0.00%,UN projection
  218. 213,* Northern Mariana Islands* (USA),53883,4/1/2010,0.00%,Final 2010 census result
  219. ,South Ossetia,51547,1/1/2013,0.00%,Estimate
  220. 214,* Faroe Islands* (Denmark),48723,8/1/2014,0.00%,Monthly official estimate
  221. 215,* Sint Maarten* (Netherlands),37429,1/1/2010,0.00%,Official estimate
  222. 216,Liechtenstein,37132,12/31/2013,0.00%,Semi annual official estimate
  223. 217,* Saint Martin* (France),36979,1/1/2010,0.00%,Official estimate
  224. 218,Monaco,36950,12/31/2013,0.00%,Annual official estimate
  225. 219,San Marino,32727,8/31/2014,0.00%,Monthly official estimate
  226. 220,* Turks and Caicos Islands* (UK),31458,1/25/2012,0.00%,2012 census result
  227. 221,* Gibraltar* (UK),30001,12/31/2012,0.00%,Annual official estimate
  228. 222,* British Virgin Islands* (UK),29537,7/1/2010,0.00%,Annual official estimate
  229. 223,* Ã…land Islands* (Finland),28875,9/30/2014,0.00%,Official estimate
  230. 224,* Caribbean Netherlands* (Netherlands),23296,1/1/2013,0.00%,Official estimate
  231. 225,Palau,20901,7/1/2013,0.00%,Annual official estimate
  232. 226,* Cook Islands* (NZ),14974,12/1/2011,0.00%,Final 2011 census result
  233. 227,* Anguilla* (UK),13452,5/11/2011,0.00%,Preliminary 2011 census result
  234. 228,* Wallis and Futuna* (France),13135,7/1/2013,0.00%,Annual official estimate
  235. 229,Tuvalu,11323,7/1/2013,0.00%,Annual official estimate
  236. 230,Nauru,10084,10/30/2011,0.00%,2011 census result
  237. 231,* Saint Barthélemy* (France),8938,1/1/2010,0.00%,Official estimate
  238. 232,* Saint Pierre and Miquelon* (France),6081,1/1/2010,0.00%,Official estimate
  239. 233,* Montserrat* (UK),4922,5/12/2011,0.00%,2011 census result
  240. 234,"* Saint Helena, Ascension and Tristan da Cunha* (UK)",4000,7/1/2014,0.00%,UN projection
  241. 235,* Falkland Islands* (UK),3000,7/1/2014,0.00%,UN projection
  242. 236,* Svalbard and Jan Mayen* (Norway),2655,9/1/2012,0.00%,Official estimate
  243. 237,* Norfolk Island* (Australia),2302,8/9/2011,0.00%,2011 census result
  244. 238,* Christmas Island* (Australia),2072,8/9/2011,0.00%,2011 census result
  245. 239,* Niue* (NZ),1613,9/10/2011,0.00%,Final 2011 census result
  246. 240,* Tokelau* (NZ),1411,10/18/2011,0.00%,Final 2011 census result
  247. 241,Vatican City,839,7/1/2012,0.00%,Official estimate
  248. 242,* Cocos (Keeling) Islands* (Australia),550,8/9/2011,0.00%,2011 census result
  249. 243,* Pitcairn Islands* (UK),56,2013,0.00%,Official estimate