平均预期寿命可视化

发布时间:2024年01月12日

完整地址:

一键三连感谢您的观看

https://www.bilibili.com/video/BV11V41197Rd/?spm_id_from=333.999.list.card_archive.click&vd_source=e9167c654bb4523338a765358a8ac2af

在这里插入图片描述

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8" />
    <title>ECharts</title>
    <!-- 引入刚刚下载的 ECharts 文件 -->
    <script src="echarts.js"></script>
    <script src="jquery-1.10.2.min.js"></script>
    <style>
      body {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100vh; /* 让 body 铺满整个视口高度 */
        margin: 0; /* 去除默认的 body 边距 */
        background-size: cover;
        background: url('1.jpg') center center fixed; /* 替换 'your-background-image.jpg' 为实际的背景图片路径 */
        position: relative;
      }
      .t,.p {
        display:flex;
        overflow: hidden;
    }

    .title,.para {
        margin-bottom: 10px;
        display:inline-block;
        animation-name:hc;
        animation-duration: .5s;
        transition: all 600ms cubic-bezier(0.785, 0.135, 0.15, 0.86);
        animation-fill-mode: both;
    }

    @keyframes hc{
        from {transform: translateY(30%);opacity: 0;}
        to {transform: translateY(0%);opacity: 1;}
    }
    </style>
  </head>
    <!-- 为 ECharts 准备一个定义了宽高的 DOM -->
    <div class="display-1 t" style="height: 100px; text-align: center; font-size: 30px; font-weight: bold;color:aliceblue">
      <span class="title">平均</span>
      <span class="title">预期</span>
      <span class="title">寿命</span>
    </div>
    <div id="main" style="width: 1000px;height:600px;"></div>
    <script type="text/javascript">
var title=document.getElementsByClassName('title');
var para=document.getElementsByClassName('para');

for(i0=0;i0<title.length;i0++) {
    title[i0].style.animationDelay = (i0*0.1)+"s";
}

for(i1=0;i1<para.length;i1++) {
    para[i1].style.animationDelay = (i1*0.1)+"s";
}

var chartDom = document.getElementById('main');
var myChart = echarts.init(chartDom);
var option;

const updateFrequency = 2000;
const dimension = 0;
const countryColors = {: '#b2bb1a',: '#c69674',
  合计: '#f93',
  Cuba: '#002a8f',
  Finland: '#003580',
  France: '#ed2939',
  Germany: '#000',
  Iceland: '#003897',
  India: '#f93',
  Japan: '#bc002d',
  'North Korea': '#024fa2',
  'South Korea': '#000',
  'New Zealand': '#00247d',
  Norway: '#ef2b2d',
  Poland: '#dc143c',
  Russia: '#d52b1e',
  Turkey: '#e30a17',
  'United Kingdom': '#00247d',
  'United States': '#b22234'
};
$.when(
  $.getJSON('data.json'),
  $.getJSON('data2.json')
).done(function (res0, res1) {
  const flags = res0[0];
  const data = res1[0];
  const years = [];
  for (let i = 0; i < data.length; ++i) {
    if (years.length === 0 || years[years.length - 1] !== data[i][4]) {
      years.push(data[i][4]);
    }
  }
  const namesSet = new Set();

for (let i = 0; i < data.length; ++i) {
  namesSet.add(data[i][3]);
}

const names = Array.from(namesSet);

  
  function getFlag(countryName) {
    if (!countryName) {
      return '';
    }
    return (
      flags.find(function (item) {
        return item.name === countryName;
      }) || {}
    ).emoji;
  }
  let startIndex = 1;
  let startYear = years[startIndex];
  option = {
    grid: {
      top: 10,
      bottom: 30,
      left: 150,
      right: 80
    },
    xAxis: {
      max: 'dataMax',
      scale: true,
      axisLabel: {
        formatter: function (n) {
          return Math.round(n) + '';
        },
        fontSize: 20,
        color:"#ffffff"
      },
        },
    dataset: {
      source: data.slice(1).filter(function (d) {
        return d[4] === startYear;
      })
    },
    yAxis: {
      type: 'category',
      inverse: true,
      max: 3,
      axisLabel: {
        show: true,
        fontSize: 30,
        margin:50,
        color:"#ffffff"
      },
      animationDuration: 300,
      animationDurationUpdate: 300
    },
    series: [
      {
        realtimeSort: true,
        seriesLayoutBy: 'column',
        type: 'bar',
        itemStyle: {
          color: function (param) {
            return countryColors[param.value[3]] || '#5470c6';
          }
        },
        encode: {
          x: dimension,
          y: 3
        },
        label: {
          show: true,
          precision: 1,
          position: 'right',
          fontSize:20,
          color:"#ffffff",
          valueAnimation: true,
          fontFamily: 'monospace'
        }
      }
    ],
    // Disable init animation.
    animationDuration: 0,
    animationDurationUpdate: updateFrequency,
    animationEasing: 'linear',
    animationEasingUpdate: 'linear',
    graphic: {
      elements: [
        {
          type: 'text',
          right: 150,
          bottom: 60,
          style: {
            text: startYear,
            font: 'bolder 80px monospace',
            fill: 'rgba(255, 255, 255, 0.3)'
          },
          z: 100
        }
      ]
    }
  };
  console.log(option);
  myChart.setOption(option);
  for (let i = startIndex; i < years.length - 1; ++i) {
    (function (i) {
      setTimeout(function () {
        updateYear(years[i + 1]);
      }, (i - startIndex) * updateFrequency);
    })(i);
  }
  function updateYear(year) {
    let source = data.slice(1).filter(function (d) {
      return d[4] === year;
    });
    option.series[0].data = source;
    option.graphic.elements[0].style.text = year;
    myChart.setOption(option);
  }
});

option && myChart.setOption(option);

    </script>
  </body>
</html>

data.json

[
    {
        "code": "AD",
        "emoji": "🇦🇩",
        "unicode": "U+1F1E6 U+1F1E9",
        "name": "Andorra",
        "title": "flag for Andorra",
        "dialCode": "+376"
    },
    {
        "code": "AE",
        "emoji": "🇦🇪",
        "unicode": "U+1F1E6 U+1F1EA",
        "name": "United Arab Emirates",
        "title": "flag for United Arab Emirates",
        "dialCode": "+971"
    },
    {
        "code": "AF",
        "emoji": "🇦🇫",
        "unicode": "U+1F1E6 U+1F1EB",
        "name": "Afghanistan",
        "title": "flag for Afghanistan",
        "dialCode": "+93"
    },
    {
        "code": "AG",
        "emoji": "🇦🇬",
        "unicode": "U+1F1E6 U+1F1EC",
        "name": "Antigua and Barbuda",
        "title": "flag for Antigua and Barbuda",
        "dialCode": "+1268"
    },
    {
        "code": "AI",
        "emoji": "🇦🇮",
        "unicode": "U+1F1E6 U+1F1EE",
        "name": "Anguilla",
        "title": "flag for Anguilla",
        "dialCode": "+1 264"
    },
    {
        "code": "AL",
        "emoji": "🇦🇱",
        "unicode": "U+1F1E6 U+1F1F1",
        "name": "Albania",
        "title": "flag for Albania",
        "dialCode": "+355"
    },
    {
        "code": "AM",
        "emoji": "🇦🇲",
        "unicode": "U+1F1E6 U+1F1F2",
        "name": "Armenia",
        "title": "flag for Armenia",
        "dialCode": "+374"
    },
    {
        "code": "AO",
        "emoji": "🇦🇴",
        "unicode": "U+1F1E6 U+1F1F4",
        "name": "Angola",
        "title": "flag for Angola",
        "dialCode": "+244"
    },
    {
        "code": "AQ",
        "emoji": "🇦🇶",
        "unicode": "U+1F1E6 U+1F1F6",
        "name": "Antarctica",
        "title": "flag for Antarctica",
        "dialCode": null
    },
    {
        "code": "AR",
        "emoji": "🇦🇷",
        "unicode": "U+1F1E6 U+1F1F7",
        "name": "Argentina",
        "title": "flag for Argentina",
        "dialCode": "+54"
    },
    {
        "code": "AS",
        "emoji": "🇦🇸",
        "unicode": "U+1F1E6 U+1F1F8",
        "name": "American Samoa",
        "title": "flag for American Samoa",
        "dialCode": "+1 684"
    },
    {
        "code": "AT",
        "emoji": "🇦🇹",
        "unicode": "U+1F1E6 U+1F1F9",
        "name": "Austria",
        "title": "flag for Austria",
        "dialCode": "+43"
    },
    {
        "code": "AU",
        "emoji": "🇦🇺",
        "unicode": "U+1F1E6 U+1F1FA",
        "name": "Australia",
        "title": "flag for Australia",
        "dialCode": "+61"
    },
    {
        "code": "AW",
        "emoji": "🇦🇼",
        "unicode": "U+1F1E6 U+1F1FC",
        "name": "Aruba",
        "title": "flag for Aruba",
        "dialCode": "+297"
    },
    {
        "code": "AX",
        "emoji": "🇦🇽",
        "unicode": "U+1F1E6 U+1F1FD",
        "name": "?land Islands",
        "title": "flag for ?land Islands",
        "dialCode": ""
    },
    {
        "code": "AZ",
        "emoji": "🇦🇿",
        "unicode": "U+1F1E6 U+1F1FF",
        "name": "Azerbaijan",
        "title": "flag for Azerbaijan",
        "dialCode": "+994"
    },
    {
        "code": "BA",
        "emoji": "🇧🇦",
        "unicode": "U+1F1E7 U+1F1E6",
        "name": "Bosnia and Herzegovina",
        "title": "flag for Bosnia and Herzegovina",
        "dialCode": "+387"
    },
    {
        "code": "BB",
        "emoji": "🇧🇧",
        "unicode": "U+1F1E7 U+1F1E7",
        "name": "Barbados",
        "title": "flag for Barbados",
        "dialCode": "+1 246"
    },
    {
        "code": "BD",
        "emoji": "🇧🇩",
        "unicode": "U+1F1E7 U+1F1E9",
        "name": "Bangladesh",
        "title": "flag for Bangladesh",
        "dialCode": "+880"
    },
    {
        "code": "BE",
        "emoji": "🇧🇪",
        "unicode": "U+1F1E7 U+1F1EA",
        "name": "Belgium",
        "title": "flag for Belgium",
        "dialCode": "+32"
    },
    {
        "code": "BF",
        "emoji": "🇧🇫",
        "unicode": "U+1F1E7 U+1F1EB",
        "name": "Burkina Faso",
        "title": "flag for Burkina Faso",
        "dialCode": "+226"
    },
    {
        "code": "BG",
        "emoji": "🇧🇬",
        "unicode": "U+1F1E7 U+1F1EC",
        "name": "Bulgaria",
        "title": "flag for Bulgaria",
        "dialCode": "+359"
    },
    {
        "code": "BH",
        "emoji": "🇧🇭",
        "unicode": "U+1F1E7 U+1F1ED",
        "name": "Bahrain",
        "title": "flag for Bahrain",
        "dialCode": "+973"
    },
    {
        "code": "BI",
        "emoji": "🇧🇮",
        "unicode": "U+1F1E7 U+1F1EE",
        "name": "Burundi",
        "title": "flag for Burundi",
        "dialCode": "+257"
    },
    {
        "code": "BJ",
        "emoji": "🇧🇯",
        "unicode": "U+1F1E7 U+1F1EF",
        "name": "Benin",
        "title": "flag for Benin",
        "dialCode": "+229"
    },
    {
        "code": "BL",
        "emoji": "🇧🇱",
        "unicode": "U+1F1E7 U+1F1F1",
        "name": "Saint Barthélemy",
        "title": "flag for Saint Barthélemy",
        "dialCode": "+590"
    },
    {
        "code": "BM",
        "emoji": "🇧🇲",
        "unicode": "U+1F1E7 U+1F1F2",
        "name": "Bermuda",
        "title": "flag for Bermuda",
        "dialCode": "+1 441"
    },
    {
        "code": "BN",
        "emoji": "🇧🇳",
        "unicode": "U+1F1E7 U+1F1F3",
        "name": "Brunei Darussalam",
        "title": "flag for Brunei Darussalam",
        "dialCode": "+673"
    },
    {
        "code": "BO",
        "emoji": "🇧🇴",
        "unicode": "U+1F1E7 U+1F1F4",
        "name": "Bolivia",
        "title": "flag for Bolivia",
        "dialCode": "+591"
    },
    {
        "code": "BQ",
        "emoji": "🇧🇶",
        "unicode": "U+1F1E7 U+1F1F6",
        "name": "Bonaire, Sint Eustatius and Saba",
        "title": "flag for Bonaire, Sint Eustatius and Saba"
    },
    {
        "code": "BR",
        "emoji": "🇧🇷",
        "unicode": "U+1F1E7 U+1F1F7",
        "name": "Brazil",
        "title": "flag for Brazil",
        "dialCode": "+55"
    },
    {
        "code": "BS",
        "emoji": "🇧🇸",
        "unicode": "U+1F1E7 U+1F1F8",
        "name": "Bahamas",
        "title": "flag for Bahamas",
        "dialCode": "+1 242"
    },
    {
        "code": "BT",
        "emoji": "🇧🇹",
        "unicode": "U+1F1E7 U+1F1F9",
        "name": "Bhutan",
        "title": "flag for Bhutan",
        "dialCode": "+975"
    },
    {
        "code": "BV",
        "emoji": "🇧🇻",
        "unicode": "U+1F1E7 U+1F1FB",
        "name": "Bouvet Island",
        "title": "flag for Bouvet Island"
    },
    {
        "code": "BW",
        "emoji": "🇧🇼",
        "unicode": "U+1F1E7 U+1F1FC",
        "name": "Botswana",
        "title": "flag for Botswana",
        "dialCode": "+267"
    },
    {
        "code": "BY",
        "emoji": "🇧🇾",
        "unicode": "U+1F1E7 U+1F1FE",
        "name": "Belarus",
        "title": "flag for Belarus",
        "dialCode": "+375"
    },
    {
        "code": "BZ",
        "emoji": "🇧🇿",
        "unicode": "U+1F1E7 U+1F1FF",
        "name": "Belize",
        "title": "flag for Belize",
        "dialCode": "+501"
    },
    {
        "code": "CA",
        "emoji": "🇨🇦",
        "unicode": "U+1F1E8 U+1F1E6",
        "name": "Canada",
        "title": "flag for Canada",
        "dialCode": "+1"
    },
    {
        "code": "CC",
        "emoji": "🇨🇨",
        "unicode": "U+1F1E8 U+1F1E8",
        "name": "Cocos (Keeling) Islands",
        "title": "flag for Cocos (Keeling) Islands",
        "dialCode": "+61"
    },
    {
        "code": "CD",
        "emoji": "🇨🇩",
        "unicode": "U+1F1E8 U+1F1E9",
        "name": "Congo",
        "title": "flag for Congo",
        "dialCode": "+243"
    },
    {
        "code": "CF",
        "emoji": "🇨🇫",
        "unicode": "U+1F1E8 U+1F1EB",
        "name": "Central African Republic",
        "title": "flag for Central African Republic",
        "dialCode": "+236"
    },
    {
        "code": "CG",
        "emoji": "🇨🇬",
        "unicode": "U+1F1E8 U+1F1EC",
        "name": "Congo",
        "title": "flag for Congo",
        "dialCode": "+242"
    },
    {
        "code": "CH",
        "emoji": "🇨🇭",
        "unicode": "U+1F1E8 U+1F1ED",
        "name": "Switzerland",
        "title": "flag for Switzerland",
        "dialCode": "+41"
    },
    {
        "code": "CI",
        "emoji": "🇨🇮",
        "unicode": "U+1F1E8 U+1F1EE",
        "name": "C?te D'Ivoire",
        "title": "flag for C?te D'Ivoire",
        "dialCode": "+225"
    },
    {
        "code": "CK",
        "emoji": "🇨🇰",
        "unicode": "U+1F1E8 U+1F1F0",
        "name": "Cook Islands",
        "title": "flag for Cook Islands",
        "dialCode": "+682"
    },
    {
        "code": "CL",
        "emoji": "🇨🇱",
        "unicode": "U+1F1E8 U+1F1F1",
        "name": "Chile",
        "title": "flag for Chile",
        "dialCode": "+56"
    },
    {
        "code": "CM",
        "emoji": "🇨🇲",
        "unicode": "U+1F1E8 U+1F1F2",
        "name": "Cameroon",
        "title": "flag for Cameroon",
        "dialCode": "+237"
    },
    {
        "code": "CN",
        "emoji": "🇨🇳",
        "unicode": "U+1F1E8 U+1F1F3",
        "name": "China",
        "title": "flag for China",
        "dialCode": "+86"
    },
    {
        "code": "CO",
        "emoji": "🇨🇴",
        "unicode": "U+1F1E8 U+1F1F4",
        "name": "Colombia",
        "title": "flag for Colombia",
        "dialCode": "+57"
    },
    {
        "code": "CR",
        "emoji": "🇨🇷",
        "unicode": "U+1F1E8 U+1F1F7",
        "name": "Costa Rica",
        "title": "flag for Costa Rica",
        "dialCode": "+506"
    },
    {
        "code": "CU",
        "emoji": "🇨🇺",
        "unicode": "U+1F1E8 U+1F1FA",
        "name": "Cuba",
        "title": "flag for Cuba",
        "dialCode": "+53"
    },
    {
        "code": "CV",
        "emoji": "🇨🇻",
        "unicode": "U+1F1E8 U+1F1FB",
        "name": "Cape Verde",
        "title": "flag for Cape Verde",
        "dialCode": "+238"
    },
    {
        "code": "CW",
        "emoji": "🇨🇼",
        "unicode": "U+1F1E8 U+1F1FC",
        "name": "Cura?ao",
        "title": "flag for Cura?ao"
    },
    {
        "code": "CX",
        "emoji": "🇨🇽",
        "unicode": "U+1F1E8 U+1F1FD",
        "name": "Christmas Island",
        "title": "flag for Christmas Island",
        "dialCode": "+61"
    },
    {
        "code": "CY",
        "emoji": "🇨🇾",
        "unicode": "U+1F1E8 U+1F1FE",
        "name": "Cyprus",
        "title": "flag for Cyprus",
        "dialCode": "+537"
    },
    {
        "code": "CZ",
        "emoji": "🇨🇿",
        "unicode": "U+1F1E8 U+1F1FF",
        "name": "Czech Republic",
        "title": "flag for Czech Republic",
        "dialCode": "+420"
    },
    {
        "code": "DE",
        "emoji": "🇩🇪",
        "unicode": "U+1F1E9 U+1F1EA",
        "name": "Germany",
        "title": "flag for Germany",
        "dialCode": "+49"
    },
    {
        "code": "DJ",
        "emoji": "🇩🇯",
        "unicode": "U+1F1E9 U+1F1EF",
        "name": "Djibouti",
        "title": "flag for Djibouti",
        "dialCode": "+253"
    },
    {
        "code": "DK",
        "emoji": "🇩🇰",
        "unicode": "U+1F1E9 U+1F1F0",
        "name": "Denmark",
        "title": "flag for Denmark",
        "dialCode": "+45"
    },
    {
        "code": "DM",
        "emoji": "🇩🇲",
        "unicode": "U+1F1E9 U+1F1F2",
        "name": "Dominica",
        "title": "flag for Dominica",
        "dialCode": "+1 767"
    },
    {
        "code": "DO",
        "emoji": "🇩🇴",
        "unicode": "U+1F1E9 U+1F1F4",
        "name": "Dominican Republic",
        "title": "flag for Dominican Republic",
        "dialCode": "+1 849"
    },
    {
        "code": "DZ",
        "emoji": "🇩🇿",
        "unicode": "U+1F1E9 U+1F1FF",
        "name": "Algeria",
        "title": "flag for Algeria",
        "dialCode": "+213"
    },
    {
        "code": "EC",
        "emoji": "🇪🇨",
        "unicode": "U+1F1EA U+1F1E8",
        "name": "Ecuador",
        "title": "flag for Ecuador",
        "dialCode": "+593"
    },
    {
        "code": "EE",
        "emoji": "🇪🇪",
        "unicode": "U+1F1EA U+1F1EA",
        "name": "Estonia",
        "title": "flag for Estonia",
        "dialCode": "+372"
    },
    {
        "code": "EG",
        "emoji": "🇪🇬",
        "unicode": "U+1F1EA U+1F1EC",
        "name": "Egypt",
        "title": "flag for Egypt",
        "dialCode": "+20"
    },
    {
        "code": "EH",
        "emoji": "🇪🇭",
        "unicode": "U+1F1EA U+1F1ED",
        "name": "Western Sahara",
        "title": "flag for Western Sahara"
    },
    {
        "code": "ER",
        "emoji": "🇪🇷",
        "unicode": "U+1F1EA U+1F1F7",
        "name": "Eritrea",
        "title": "flag for Eritrea",
        "dialCode": "+291"
    },
    {
        "code": "ES",
        "emoji": "🇪🇸",
        "unicode": "U+1F1EA U+1F1F8",
        "name": "Spain",
        "title": "flag for Spain",
        "dialCode": "+34"
    },
    {
        "code": "ET",
        "emoji": "🇪🇹",
        "unicode": "U+1F1EA U+1F1F9",
        "name": "Ethiopia",
        "title": "flag for Ethiopia",
        "dialCode": "+251"
    },
    {
        "code": "EU",
        "emoji": "🇪🇺",
        "unicode": "U+1F1EA U+1F1FA",
        "name": "European Union",
        "title": "flag for European Union"
    },
    {
        "code": "FI",
        "emoji": "🇫🇮",
        "unicode": "U+1F1EB U+1F1EE",
        "name": "Finland",
        "title": "flag for Finland",
        "dialCode": "+358"
    },
    {
        "code": "FJ",
        "emoji": "🇫🇯",
        "unicode": "U+1F1EB U+1F1EF",
        "name": "Fiji",
        "title": "flag for Fiji",
        "dialCode": "+679"
    },
    {
        "code": "FK",
        "emoji": "🇫🇰",
        "unicode": "U+1F1EB U+1F1F0",
        "name": "Falkland Islands (Malvinas)",
        "title": "flag for Falkland Islands (Malvinas)",
        "dialCode": "+500"
    },
    {
        "code": "FM",
        "emoji": "🇫🇲",
        "unicode": "U+1F1EB U+1F1F2",
        "name": "Micronesia",
        "title": "flag for Micronesia",
        "dialCode": "+691"
    },
    {
        "code": "FO",
        "emoji": "🇫🇴",
        "unicode": "U+1F1EB U+1F1F4",
        "name": "Faroe Islands",
        "title": "flag for Faroe Islands",
        "dialCode": "+298"
    },
    {
        "code": "FR",
        "emoji": "🇫🇷",
        "unicode": "U+1F1EB U+1F1F7",
        "name": "France",
        "title": "flag for France",
        "dialCode": "+33"
    },
    {
        "code": "GA",
        "emoji": "🇬🇦",
        "unicode": "U+1F1EC U+1F1E6",
        "name": "Gabon",
        "title": "flag for Gabon",
        "dialCode": "+241"
    },
    {
        "code": "GB",
        "emoji": "🇬🇧",
        "unicode": "U+1F1EC U+1F1E7",
        "name": "United Kingdom",
        "title": "flag for United Kingdom",
        "dialCode": "+44"
    },
    {
        "code": "GD",
        "emoji": "🇬🇩",
        "unicode": "U+1F1EC U+1F1E9",
        "name": "Grenada",
        "title": "flag for Grenada",
        "dialCode": "+1 473"
    },
    {
        "code": "GE",
        "emoji": "🇬🇪",
        "unicode": "U+1F1EC U+1F1EA",
        "name": "Georgia",
        "title": "flag for Georgia",
        "dialCode": "+995"
    },
    {
        "code": "GF",
        "emoji": "🇬🇫",
        "unicode": "U+1F1EC U+1F1EB",
        "name": "French Guiana",
        "title": "flag for French Guiana",
        "dialCode": "+594"
    },
    {
        "code": "GG",
        "emoji": "🇬🇬",
        "unicode": "U+1F1EC U+1F1EC",
        "name": "Guernsey",
        "title": "flag for Guernsey",
        "dialCode": "+44"
    },
    {
        "code": "GH",
        "emoji": "🇬🇭",
        "unicode": "U+1F1EC U+1F1ED",
        "name": "Ghana",
        "title": "flag for Ghana",
        "dialCode": "+233"
    },
    {
        "code": "GI",
        "emoji": "🇬🇮",
        "unicode": "U+1F1EC U+1F1EE",
        "name": "Gibraltar",
        "title": "flag for Gibraltar",
        "dialCode": "+350"
    },
    {
        "code": "GL",
        "emoji": "🇬🇱",
        "unicode": "U+1F1EC U+1F1F1",
        "name": "Greenland",
        "title": "flag for Greenland",
        "dialCode": "+299"
    },
    {
        "code": "GM",
        "emoji": "🇬🇲",
        "unicode": "U+1F1EC U+1F1F2",
        "name": "Gambia",
        "title": "flag for Gambia",
        "dialCode": "+220"
    },
    {
        "code": "GN",
        "emoji": "🇬🇳",
        "unicode": "U+1F1EC U+1F1F3",
        "name": "Guinea",
        "title": "flag for Guinea",
        "dialCode": "+224"
    },
    {
        "code": "GP",
        "emoji": "🇬🇵",
        "unicode": "U+1F1EC U+1F1F5",
        "name": "Guadeloupe",
        "title": "flag for Guadeloupe",
        "dialCode": "+590"
    },
    {
        "code": "GQ",
        "emoji": "🇬🇶",
        "unicode": "U+1F1EC U+1F1F6",
        "name": "Equatorial Guinea",
        "title": "flag for Equatorial Guinea",
        "dialCode": "+240"
    },
    {
        "code": "GR",
        "emoji": "🇬🇷",
        "unicode": "U+1F1EC U+1F1F7",
        "name": "Greece",
        "title": "flag for Greece",
        "dialCode": "+30"
    },
    {
        "code": "GS",
        "emoji": "🇬🇸",
        "unicode": "U+1F1EC U+1F1F8",
        "name": "South Georgia",
        "title": "flag for South Georgia",
        "dialCode": "+500"
    },
    {
        "code": "GT",
        "emoji": "🇬🇹",
        "unicode": "U+1F1EC U+1F1F9",
        "name": "Guatemala",
        "title": "flag for Guatemala",
        "dialCode": "+502"
    },
    {
        "code": "GU",
        "emoji": "🇬🇺",
        "unicode": "U+1F1EC U+1F1FA",
        "name": "Guam",
        "title": "flag for Guam",
        "dialCode": "+1 671"
    },
    {
        "code": "GW",
        "emoji": "🇬🇼",
        "unicode": "U+1F1EC U+1F1FC",
        "name": "Guinea-Bissau",
        "title": "flag for Guinea-Bissau",
        "dialCode": "+245"
    },
    {
        "code": "GY",
        "emoji": "🇬🇾",
        "unicode": "U+1F1EC U+1F1FE",
        "name": "Guyana",
        "title": "flag for Guyana",
        "dialCode": "+595"
    },
    {
        "code": "HK",
        "emoji": "🇭🇰",
        "unicode": "U+1F1ED U+1F1F0",
        "name": "Hong Kong",
        "title": "flag for Hong Kong",
        "dialCode": "+852"
    },
    {
        "code": "HM",
        "emoji": "🇭🇲",
        "unicode": "U+1F1ED U+1F1F2",
        "name": "Heard Island and Mcdonald Islands",
        "title": "flag for Heard Island and Mcdonald Islands"
    },
    {
        "code": "HN",
        "emoji": "🇭🇳",
        "unicode": "U+1F1ED U+1F1F3",
        "name": "Honduras",
        "title": "flag for Honduras",
        "dialCode": "+504"
    },
    {
        "code": "HR",
        "emoji": "🇭🇷",
        "unicode": "U+1F1ED U+1F1F7",
        "name": "Croatia",
        "title": "flag for Croatia",
        "dialCode": "+385"
    },
    {
        "code": "HT",
        "emoji": "🇭🇹",
        "unicode": "U+1F1ED U+1F1F9",
        "name": "Haiti",
        "title": "flag for Haiti",
        "dialCode": "+509"
    },
    {
        "code": "HU",
        "emoji": "🇭🇺",
        "unicode": "U+1F1ED U+1F1FA",
        "name": "Hungary",
        "title": "flag for Hungary",
        "dialCode": "+36"
    },
    {
        "code": "ID",
        "emoji": "🇮🇩",
        "unicode": "U+1F1EE U+1F1E9",
        "name": "Indonesia",
        "title": "flag for Indonesia",
        "dialCode": "+62"
    },
    {
        "code": "IE",
        "emoji": "🇮🇪",
        "unicode": "U+1F1EE U+1F1EA",
        "name": "Ireland",
        "title": "flag for Ireland",
        "dialCode": "+353"
    },
    {
        "code": "IL",
        "emoji": "🇮🇱",
        "unicode": "U+1F1EE U+1F1F1",
        "name": "Israel",
        "title": "flag for Israel",
        "dialCode": "+972"
    },
    {
        "code": "IM",
        "emoji": "🇮🇲",
        "unicode": "U+1F1EE U+1F1F2",
        "name": "Isle of Man",
        "title": "flag for Isle of Man",
        "dialCode": "+44"
    },
    {
        "code": "IN",
        "emoji": "🇮🇳",
        "unicode": "U+1F1EE U+1F1F3",
        "name": "India",
        "title": "flag for India",
        "dialCode": "+91"
    },
    {
        "code": "IO",
        "emoji": "🇮🇴",
        "unicode": "U+1F1EE U+1F1F4",
        "name": "British Indian Ocean Territory",
        "title": "flag for British Indian Ocean Territory",
        "dialCode": "+246"
    },
    {
        "code": "IQ",
        "emoji": "🇮🇶",
        "unicode": "U+1F1EE U+1F1F6",
        "name": "Iraq",
        "title": "flag for Iraq",
        "dialCode": "+964"
    },
    {
        "code": "IR",
        "emoji": "🇮🇷",
        "unicode": "U+1F1EE U+1F1F7",
        "name": "Iran",
        "title": "flag for Iran",
        "dialCode": "+98"
    },
    {
        "code": "IS",
        "emoji": "🇮🇸",
        "unicode": "U+1F1EE U+1F1F8",
        "name": "Iceland",
        "title": "flag for Iceland",
        "dialCode": "+354"
    },
    {
        "code": "IT",
        "emoji": "🇮🇹",
        "unicode": "U+1F1EE U+1F1F9",
        "name": "Italy",
        "title": "flag for Italy",
        "dialCode": "+39"
    },
    {
        "code": "JE",
        "emoji": "🇯🇪",
        "unicode": "U+1F1EF U+1F1EA",
        "name": "Jersey",
        "title": "flag for Jersey",
        "dialCode": "+44"
    },
    {
        "code": "JM",
        "emoji": "🇯🇲",
        "unicode": "U+1F1EF U+1F1F2",
        "name": "Jamaica",
        "title": "flag for Jamaica",
        "dialCode": "+1 876"
    },
    {
        "code": "JO",
        "emoji": "🇯🇴",
        "unicode": "U+1F1EF U+1F1F4",
        "name": "Jordan",
        "title": "flag for Jordan",
        "dialCode": "+962"
    },
    {
        "code": "JP",
        "emoji": "🇯🇵",
        "unicode": "U+1F1EF U+1F1F5",
        "name": "Japan",
        "title": "flag for Japan",
        "dialCode": "+81"
    },
    {
        "code": "KE",
        "emoji": "🇰🇪",
        "unicode": "U+1F1F0 U+1F1EA",
        "name": "Kenya",
        "title": "flag for Kenya",
        "dialCode": "+254"
    },
    {
        "code": "KG",
        "emoji": "🇰🇬",
        "unicode": "U+1F1F0 U+1F1EC",
        "name": "Kyrgyzstan",
        "title": "flag for Kyrgyzstan",
        "dialCode": "+996"
    },
    {
        "code": "KH",
        "emoji": "🇰🇭",
        "unicode": "U+1F1F0 U+1F1ED",
        "name": "Cambodia",
        "title": "flag for Cambodia",
        "dialCode": "+855"
    },
    {
        "code": "KI",
        "emoji": "🇰🇮",
        "unicode": "U+1F1F0 U+1F1EE",
        "name": "Kiribati",
        "title": "flag for Kiribati",
        "dialCode": "+686"
    },
    {
        "code": "KM",
        "emoji": "🇰🇲",
        "unicode": "U+1F1F0 U+1F1F2",
        "name": "Comoros",
        "title": "flag for Comoros",
        "dialCode": "+269"
    },
    {
        "code": "KN",
        "emoji": "🇰🇳",
        "unicode": "U+1F1F0 U+1F1F3",
        "name": "Saint Kitts and Nevis",
        "title": "flag for Saint Kitts and Nevis",
        "dialCode": "+1 869"
    },
    {
        "code": "KP",
        "emoji": "🇰🇵",
        "unicode": "U+1F1F0 U+1F1F5",
        "name": "North Korea",
        "title": "flag for North Korea",
        "dialCode": "+850"
    },
    {
        "code": "KR",
        "emoji": "🇰🇷",
        "unicode": "U+1F1F0 U+1F1F7",
        "name": "South Korea",
        "title": "flag for South Korea",
        "dialCode": "+82"
    },
    {
        "code": "KW",
        "emoji": "🇰🇼",
        "unicode": "U+1F1F0 U+1F1FC",
        "name": "Kuwait",
        "title": "flag for Kuwait",
        "dialCode": "+965"
    },
    {
        "code": "KY",
        "emoji": "🇰🇾",
        "unicode": "U+1F1F0 U+1F1FE",
        "name": "Cayman Islands",
        "title": "flag for Cayman Islands",
        "dialCode": "+ 345"
    },
    {
        "code": "KZ",
        "emoji": "🇰🇿",
        "unicode": "U+1F1F0 U+1F1FF",
        "name": "Kazakhstan",
        "title": "flag for Kazakhstan",
        "dialCode": "+7 7"
    },
    {
        "code": "LA",
        "emoji": "🇱🇦",
        "unicode": "U+1F1F1 U+1F1E6",
        "name": "Lao People's Democratic Republic",
        "title": "flag for Lao People's Democratic Republic",
        "dialCode": "+856"
    },
    {
        "code": "LB",
        "emoji": "🇱🇧",
        "unicode": "U+1F1F1 U+1F1E7",
        "name": "Lebanon",
        "title": "flag for Lebanon",
        "dialCode": "+961"
    },
    {
        "code": "LC",
        "emoji": "🇱🇨",
        "unicode": "U+1F1F1 U+1F1E8",
        "name": "Saint Lucia",
        "title": "flag for Saint Lucia",
        "dialCode": "+1 758"
    },
    {
        "code": "LI",
        "emoji": "🇱🇮",
        "unicode": "U+1F1F1 U+1F1EE",
        "name": "Liechtenstein",
        "title": "flag for Liechtenstein",
        "dialCode": "+423"
    },
    {
        "code": "LK",
        "emoji": "🇱🇰",
        "unicode": "U+1F1F1 U+1F1F0",
        "name": "Sri Lanka",
        "title": "flag for Sri Lanka",
        "dialCode": "+94"
    },
    {
        "code": "LR",
        "emoji": "🇱🇷",
        "unicode": "U+1F1F1 U+1F1F7",
        "name": "Liberia",
        "title": "flag for Liberia",
        "dialCode": "+231"
    },
    {
        "code": "LS",
        "emoji": "🇱🇸",
        "unicode": "U+1F1F1 U+1F1F8",
        "name": "Lesotho",
        "title": "flag for Lesotho",
        "dialCode": "+266"
    },
    {
        "code": "LT",
        "emoji": "🇱🇹",
        "unicode": "U+1F1F1 U+1F1F9",
        "name": "Lithuania",
        "title": "flag for Lithuania",
        "dialCode": "+370"
    },
    {
        "code": "LU",
        "emoji": "🇱🇺",
        "unicode": "U+1F1F1 U+1F1FA",
        "name": "Luxembourg",
        "title": "flag for Luxembourg",
        "dialCode": "+352"
    },
    {
        "code": "LV",
        "emoji": "🇱🇻",
        "unicode": "U+1F1F1 U+1F1FB",
        "name": "Latvia",
        "title": "flag for Latvia",
        "dialCode": "+371"
    },
    {
        "code": "LY",
        "emoji": "🇱🇾",
        "unicode": "U+1F1F1 U+1F1FE",
        "name": "Libya",
        "title": "flag for Libya",
        "dialCode": "+218"
    },
    {
        "code": "MA",
        "emoji": "🇲🇦",
        "unicode": "U+1F1F2 U+1F1E6",
        "name": "Morocco",
        "title": "flag for Morocco",
        "dialCode": "+212"
    },
    {
        "code": "MC",
        "emoji": "🇲🇨",
        "unicode": "U+1F1F2 U+1F1E8",
        "name": "Monaco",
        "title": "flag for Monaco",
        "dialCode": "+377"
    },
    {
        "code": "MD",
        "emoji": "🇲🇩",
        "unicode": "U+1F1F2 U+1F1E9",
        "name": "Moldova",
        "title": "flag for Moldova",
        "dialCode": "+373"
    },
    {
        "code": "ME",
        "emoji": "🇲🇪",
        "unicode": "U+1F1F2 U+1F1EA",
        "name": "Montenegro",
        "title": "flag for Montenegro",
        "dialCode": "+382"
    },
    {
        "code": "MF",
        "emoji": "🇲🇫",
        "unicode": "U+1F1F2 U+1F1EB",
        "name": "Saint Martin (French Part)",
        "title": "flag for Saint Martin (French Part)",
        "dialCode": "+590"
    },
    {
        "code": "MG",
        "emoji": "🇲🇬",
        "unicode": "U+1F1F2 U+1F1EC",
        "name": "Madagascar",
        "title": "flag for Madagascar",
        "dialCode": "+261"
    },
    {
        "code": "MH",
        "emoji": "🇲🇭",
        "unicode": "U+1F1F2 U+1F1ED",
        "name": "Marshall Islands",
        "title": "flag for Marshall Islands",
        "dialCode": "+692"
    },
    {
        "code": "MK",
        "emoji": "🇲🇰",
        "unicode": "U+1F1F2 U+1F1F0",
        "name": "Macedonia",
        "title": "flag for Macedonia",
        "dialCode": "+389"
    },
    {
        "code": "ML",
        "emoji": "🇲🇱",
        "unicode": "U+1F1F2 U+1F1F1",
        "name": "Mali",
        "title": "flag for Mali",
        "dialCode": "+223"
    },
    {
        "code": "MM",
        "emoji": "🇲🇲",
        "unicode": "U+1F1F2 U+1F1F2",
        "name": "Myanmar",
        "title": "flag for Myanmar",
        "dialCode": "+95"
    },
    {
        "code": "MN",
        "emoji": "🇲🇳",
        "unicode": "U+1F1F2 U+1F1F3",
        "name": "Mongolia",
        "title": "flag for Mongolia",
        "dialCode": "+976"
    },
    {
        "code": "MO",
        "emoji": "🇲🇴",
        "unicode": "U+1F1F2 U+1F1F4",
        "name": "Macao",
        "title": "flag for Macao",
        "dialCode": "+853"
    },
    {
        "code": "MP",
        "emoji": "🇲🇵",
        "unicode": "U+1F1F2 U+1F1F5",
        "name": "Northern Mariana Islands",
        "title": "flag for Northern Mariana Islands",
        "dialCode": "+1 670"
    },
    {
        "code": "MQ",
        "emoji": "🇲🇶",
        "unicode": "U+1F1F2 U+1F1F6",
        "name": "Martinique",
        "title": "flag for Martinique",
        "dialCode": "+596"
    },
    {
        "code": "MR",
        "emoji": "🇲🇷",
        "unicode": "U+1F1F2 U+1F1F7",
        "name": "Mauritania",
        "title": "flag for Mauritania",
        "dialCode": "+222"
    },
    {
        "code": "MS",
        "emoji": "🇲🇸",
        "unicode": "U+1F1F2 U+1F1F8",
        "name": "Montserrat",
        "title": "flag for Montserrat",
        "dialCode": "+1664"
    },
    {
        "code": "MT",
        "emoji": "🇲🇹",
        "unicode": "U+1F1F2 U+1F1F9",
        "name": "Malta",
        "title": "flag for Malta",
        "dialCode": "+356"
    },
    {
        "code": "MU",
        "emoji": "🇲🇺",
        "unicode": "U+1F1F2 U+1F1FA",
        "name": "Mauritius",
        "title": "flag for Mauritius",
        "dialCode": "+230"
    },
    {
        "code": "MV",
        "emoji": "🇲🇻",
        "unicode": "U+1F1F2 U+1F1FB",
        "name": "Maldives",
        "title": "flag for Maldives",
        "dialCode": "+960"
    },
    {
        "code": "MW",
        "emoji": "🇲🇼",
        "unicode": "U+1F1F2 U+1F1FC",
        "name": "Malawi",
        "title": "flag for Malawi",
        "dialCode": "+265"
    },
    {
        "code": "MX",
        "emoji": "🇲🇽",
        "unicode": "U+1F1F2 U+1F1FD",
        "name": "Mexico",
        "title": "flag for Mexico",
        "dialCode": "+52"
    },
    {
        "code": "MY",
        "emoji": "🇲🇾",
        "unicode": "U+1F1F2 U+1F1FE",
        "name": "Malaysia",
        "title": "flag for Malaysia",
        "dialCode": "+60"
    },
    {
        "code": "MZ",
        "emoji": "🇲🇿",
        "unicode": "U+1F1F2 U+1F1FF",
        "name": "Mozambique",
        "title": "flag for Mozambique",
        "dialCode": "+258"
    },
    {
        "code": "NA",
        "emoji": "🇳🇦",
        "unicode": "U+1F1F3 U+1F1E6",
        "name": "Namibia",
        "title": "flag for Namibia",
        "dialCode": "+264"
    },
    {
        "code": "NC",
        "emoji": "🇳🇨",
        "unicode": "U+1F1F3 U+1F1E8",
        "name": "New Caledonia",
        "title": "flag for New Caledonia",
        "dialCode": "+687"
    },
    {
        "code": "NE",
        "emoji": "🇳🇪",
        "unicode": "U+1F1F3 U+1F1EA",
        "name": "Niger",
        "title": "flag for Niger",
        "dialCode": "+227"
    },
    {
        "code": "NF",
        "emoji": "🇳🇫",
        "unicode": "U+1F1F3 U+1F1EB",
        "name": "Norfolk Island",
        "title": "flag for Norfolk Island",
        "dialCode": "+672"
    },
    {
        "code": "NG",
        "emoji": "🇳🇬",
        "unicode": "U+1F1F3 U+1F1EC",
        "name": "Nigeria",
        "title": "flag for Nigeria",
        "dialCode": "+234"
    },
    {
        "code": "NI",
        "emoji": "🇳🇮",
        "unicode": "U+1F1F3 U+1F1EE",
        "name": "Nicaragua",
        "title": "flag for Nicaragua",
        "dialCode": "+505"
    },
    {
        "code": "NL",
        "emoji": "🇳🇱",
        "unicode": "U+1F1F3 U+1F1F1",
        "name": "Netherlands",
        "title": "flag for Netherlands",
        "dialCode": "+31"
    },
    {
        "code": "NO",
        "emoji": "🇳🇴",
        "unicode": "U+1F1F3 U+1F1F4",
        "name": "Norway",
        "title": "flag for Norway",
        "dialCode": "+47"
    },
    {
        "code": "NP",
        "emoji": "🇳🇵",
        "unicode": "U+1F1F3 U+1F1F5",
        "name": "Nepal",
        "title": "flag for Nepal",
        "dialCode": "+977"
    },
    {
        "code": "NR",
        "emoji": "🇳🇷",
        "unicode": "U+1F1F3 U+1F1F7",
        "name": "Nauru",
        "title": "flag for Nauru",
        "dialCode": "+674"
    },
    {
        "code": "NU",
        "emoji": "🇳🇺",
        "unicode": "U+1F1F3 U+1F1FA",
        "name": "Niue",
        "title": "flag for Niue",
        "dialCode": "+683"
    },
    {
        "code": "NZ",
        "emoji": "🇳🇿",
        "unicode": "U+1F1F3 U+1F1FF",
        "name": "New Zealand",
        "title": "flag for New Zealand",
        "dialCode": "+64"
    },
    {
        "code": "OM",
        "emoji": "🇴🇲",
        "unicode": "U+1F1F4 U+1F1F2",
        "name": "Oman",
        "title": "flag for Oman",
        "dialCode": "+968"
    },
    {
        "code": "PA",
        "emoji": "🇵🇦",
        "unicode": "U+1F1F5 U+1F1E6",
        "name": "Panama",
        "title": "flag for Panama",
        "dialCode": "+507"
    },
    {
        "code": "PE",
        "emoji": "🇵🇪",
        "unicode": "U+1F1F5 U+1F1EA",
        "name": "Peru",
        "title": "flag for Peru",
        "dialCode": "+51"
    },
    {
        "code": "PF",
        "emoji": "🇵🇫",
        "unicode": "U+1F1F5 U+1F1EB",
        "name": "French Polynesia",
        "title": "flag for French Polynesia",
        "dialCode": "+689"
    },
    {
        "code": "PG",
        "emoji": "🇵🇬",
        "unicode": "U+1F1F5 U+1F1EC",
        "name": "Papua New Guinea",
        "title": "flag for Papua New Guinea",
        "dialCode": "+675"
    },
    {
        "code": "PH",
        "emoji": "🇵🇭",
        "unicode": "U+1F1F5 U+1F1ED",
        "name": "Philippines",
        "title": "flag for Philippines",
        "dialCode": "+63"
    },
    {
        "code": "PK",
        "emoji": "🇵🇰",
        "unicode": "U+1F1F5 U+1F1F0",
        "name": "Pakistan",
        "title": "flag for Pakistan",
        "dialCode": "+92"
    },
    {
        "code": "PL",
        "emoji": "🇵🇱",
        "unicode": "U+1F1F5 U+1F1F1",
        "name": "Poland",
        "title": "flag for Poland",
        "dialCode": "+48"
    },
    {
        "code": "PM",
        "emoji": "🇵🇲",
        "unicode": "U+1F1F5 U+1F1F2",
        "name": "Saint Pierre and Miquelon",
        "title": "flag for Saint Pierre and Miquelon",
        "dialCode": "+508"
    },
    {
        "code": "PN",
        "emoji": "🇵🇳",
        "unicode": "U+1F1F5 U+1F1F3",
        "name": "Pitcairn",
        "title": "flag for Pitcairn",
        "dialCode": "+872"
    },
    {
        "code": "PR",
        "emoji": "🇵🇷",
        "unicode": "U+1F1F5 U+1F1F7",
        "name": "Puerto Rico",
        "title": "flag for Puerto Rico",
        "dialCode": "+1 939"
    },
    {
        "code": "PS",
        "emoji": "🇵🇸",
        "unicode": "U+1F1F5 U+1F1F8",
        "name": "Palestinian Territory",
        "title": "flag for Palestinian Territory",
        "dialCode": "+970"
    },
    {
        "code": "PT",
        "emoji": "🇵🇹",
        "unicode": "U+1F1F5 U+1F1F9",
        "name": "Portugal",
        "title": "flag for Portugal",
        "dialCode": "+351"
    },
    {
        "code": "PW",
        "emoji": "🇵🇼",
        "unicode": "U+1F1F5 U+1F1FC",
        "name": "Palau",
        "title": "flag for Palau",
        "dialCode": "+680"
    },
    {
        "code": "PY",
        "emoji": "🇵🇾",
        "unicode": "U+1F1F5 U+1F1FE",
        "name": "Paraguay",
        "title": "flag for Paraguay",
        "dialCode": "+595"
    },
    {
        "code": "QA",
        "emoji": "🇶🇦",
        "unicode": "U+1F1F6 U+1F1E6",
        "name": "Qatar",
        "title": "flag for Qatar",
        "dialCode": "+974"
    },
    {
        "code": "RE",
        "emoji": "🇷🇪",
        "unicode": "U+1F1F7 U+1F1EA",
        "name": "Réunion",
        "title": "flag for Réunion",
        "dialCode": "+262"
    },
    {
        "code": "RO",
        "emoji": "🇷🇴",
        "unicode": "U+1F1F7 U+1F1F4",
        "name": "Romania",
        "title": "flag for Romania",
        "dialCode": "+40"
    },
    {
        "code": "RS",
        "emoji": "🇷🇸",
        "unicode": "U+1F1F7 U+1F1F8",
        "name": "Serbia",
        "title": "flag for Serbia",
        "dialCode": "+381"
    },
    {
        "code": "RU",
        "emoji": "🇷🇺",
        "unicode": "U+1F1F7 U+1F1FA",
        "name": "Russia",
        "title": "flag for Russia",
        "dialCode": "+7"
    },
    {
        "code": "RW",
        "emoji": "🇷🇼",
        "unicode": "U+1F1F7 U+1F1FC",
        "name": "Rwanda",
        "title": "flag for Rwanda",
        "dialCode": "+250"
    },
    {
        "code": "SA",
        "emoji": "🇸🇦",
        "unicode": "U+1F1F8 U+1F1E6",
        "name": "Saudi Arabia",
        "title": "flag for Saudi Arabia",
        "dialCode": "+966"
    },
    {
        "code": "SB",
        "emoji": "🇸🇧",
        "unicode": "U+1F1F8 U+1F1E7",
        "name": "Solomon Islands",
        "title": "flag for Solomon Islands",
        "dialCode": "+677"
    },
    {
        "code": "SC",
        "emoji": "🇸🇨",
        "unicode": "U+1F1F8 U+1F1E8",
        "name": "Seychelles",
        "title": "flag for Seychelles",
        "dialCode": "+248"
    },
    {
        "code": "SD",
        "emoji": "🇸🇩",
        "unicode": "U+1F1F8 U+1F1E9",
        "name": "Sudan",
        "title": "flag for Sudan",
        "dialCode": "+249"
    },
    {
        "code": "SE",
        "emoji": "🇸🇪",
        "unicode": "U+1F1F8 U+1F1EA",
        "name": "Sweden",
        "title": "flag for Sweden",
        "dialCode": "+46"
    },
    {
        "code": "SG",
        "emoji": "🇸🇬",
        "unicode": "U+1F1F8 U+1F1EC",
        "name": "Singapore",
        "title": "flag for Singapore",
        "dialCode": "+65"
    },
    {
        "code": "SH",
        "emoji": "🇸🇭",
        "unicode": "U+1F1F8 U+1F1ED",
        "name": "Saint Helena, Ascension and Tristan Da Cunha",
        "title": "flag for Saint Helena, Ascension and Tristan Da Cunha",
        "dialCode": "+290"
    },
    {
        "code": "SI",
        "emoji": "🇸🇮",
        "unicode": "U+1F1F8 U+1F1EE",
        "name": "Slovenia",
        "title": "flag for Slovenia",
        "dialCode": "+386"
    },
    {
        "code": "SJ",
        "emoji": "🇸🇯",
        "unicode": "U+1F1F8 U+1F1EF",
        "name": "Svalbard and Jan Mayen",
        "title": "flag for Svalbard and Jan Mayen",
        "dialCode": "+47"
    },
    {
        "code": "SK",
        "emoji": "🇸🇰",
        "unicode": "U+1F1F8 U+1F1F0",
        "name": "Slovakia",
        "title": "flag for Slovakia",
        "dialCode": "+421"
    },
    {
        "code": "SL",
        "emoji": "🇸🇱",
        "unicode": "U+1F1F8 U+1F1F1",
        "name": "Sierra Leone",
        "title": "flag for Sierra Leone",
        "dialCode": "+232"
    },
    {
        "code": "SM",
        "emoji": "🇸🇲",
        "unicode": "U+1F1F8 U+1F1F2",
        "name": "San Marino",
        "title": "flag for San Marino",
        "dialCode": "+378"
    },
    {
        "code": "SN",
        "emoji": "🇸🇳",
        "unicode": "U+1F1F8 U+1F1F3",
        "name": "Senegal",
        "title": "flag for Senegal",
        "dialCode": "+221"
    },
    {
        "code": "SO",
        "emoji": "🇸🇴",
        "unicode": "U+1F1F8 U+1F1F4",
        "name": "Somalia",
        "title": "flag for Somalia",
        "dialCode": "+252"
    },
    {
        "code": "SR",
        "emoji": "🇸🇷",
        "unicode": "U+1F1F8 U+1F1F7",
        "name": "Suriname",
        "title": "flag for Suriname",
        "dialCode": "+597"
    },
    {
        "code": "SS",
        "emoji": "🇸🇸",
        "unicode": "U+1F1F8 U+1F1F8",
        "name": "South Sudan",
        "title": "flag for South Sudan"
    },
    {
        "code": "ST",
        "emoji": "🇸🇹",
        "unicode": "U+1F1F8 U+1F1F9",
        "name": "Sao Tome and Principe",
        "title": "flag for Sao Tome and Principe",
        "dialCode": "+239"
    },
    {
        "code": "SV",
        "emoji": "🇸🇻",
        "unicode": "U+1F1F8 U+1F1FB",
        "name": "El Salvador",
        "title": "flag for El Salvador",
        "dialCode": "+503"
    },
    {
        "code": "SX",
        "emoji": "🇸🇽",
        "unicode": "U+1F1F8 U+1F1FD",
        "name": "Sint Maarten (Dutch Part)",
        "title": "flag for Sint Maarten (Dutch Part)"
    },
    {
        "code": "SY",
        "emoji": "🇸🇾",
        "unicode": "U+1F1F8 U+1F1FE",
        "name": "Syrian Arab Republic",
        "title": "flag for Syrian Arab Republic",
        "dialCode": "+963"
    },
    {
        "code": "SZ",
        "emoji": "🇸🇿",
        "unicode": "U+1F1F8 U+1F1FF",
        "name": "Swaziland",
        "title": "flag for Swaziland",
        "dialCode": "+268"
    },
    {
        "code": "TC",
        "emoji": "🇹🇨",
        "unicode": "U+1F1F9 U+1F1E8",
        "name": "Turks and Caicos Islands",
        "title": "flag for Turks and Caicos Islands",
        "dialCode": "+1 649"
    },
    {
        "code": "TD",
        "emoji": "🇹🇩",
        "unicode": "U+1F1F9 U+1F1E9",
        "name": "Chad",
        "title": "flag for Chad",
        "dialCode": "+235"
    },
    {
        "code": "TF",
        "emoji": "🇹🇫",
        "unicode": "U+1F1F9 U+1F1EB",
        "name": "French Southern Territories",
        "title": "flag for French Southern Territories"
    },
    {
        "code": "TG",
        "emoji": "🇹🇬",
        "unicode": "U+1F1F9 U+1F1EC",
        "name": "Togo",
        "title": "flag for Togo",
        "dialCode": "+228"
    },
    {
        "code": "TH",
        "emoji": "🇹🇭",
        "unicode": "U+1F1F9 U+1F1ED",
        "name": "Thailand",
        "title": "flag for Thailand",
        "dialCode": "+66"
    },
    {
        "code": "TJ",
        "emoji": "🇹🇯",
        "unicode": "U+1F1F9 U+1F1EF",
        "name": "Tajikistan",
        "title": "flag for Tajikistan",
        "dialCode": "+992"
    },
    {
        "code": "TK",
        "emoji": "🇹🇰",
        "unicode": "U+1F1F9 U+1F1F0",
        "name": "Tokelau",
        "title": "flag for Tokelau",
        "dialCode": "+690"
    },
    {
        "code": "TL",
        "emoji": "🇹🇱",
        "unicode": "U+1F1F9 U+1F1F1",
        "name": "Timor-Leste",
        "title": "flag for Timor-Leste",
        "dialCode": "+670"
    },
    {
        "code": "TM",
        "emoji": "🇹🇲",
        "unicode": "U+1F1F9 U+1F1F2",
        "name": "Turkmenistan",
        "title": "flag for Turkmenistan",
        "dialCode": "+993"
    },
    {
        "code": "TN",
        "emoji": "🇹🇳",
        "unicode": "U+1F1F9 U+1F1F3",
        "name": "Tunisia",
        "title": "flag for Tunisia",
        "dialCode": "+216"
    },
    {
        "code": "TO",
        "emoji": "🇹🇴",
        "unicode": "U+1F1F9 U+1F1F4",
        "name": "Tonga",
        "title": "flag for Tonga",
        "dialCode": "+676"
    },
    {
        "code": "TR",
        "emoji": "🇹🇷",
        "unicode": "U+1F1F9 U+1F1F7",
        "name": "Turkey",
        "title": "flag for Turkey",
        "dialCode": "+90"
    },
    {
        "code": "TT",
        "emoji": "🇹🇹",
        "unicode": "U+1F1F9 U+1F1F9",
        "name": "Trinidad and Tobago",
        "title": "flag for Trinidad and Tobago",
        "dialCode": "+1 868"
    },
    {
        "code": "TV",
        "emoji": "🇹🇻",
        "unicode": "U+1F1F9 U+1F1FB",
        "name": "Tuvalu",
        "title": "flag for Tuvalu",
        "dialCode": "+688"
    },
    {
        "code": "TW",
        "emoji": "🇹🇼",
        "unicode": "U+1F1F9 U+1F1FC",
        "name": "Taiwan",
        "title": "flag for Taiwan",
        "dialCode": "+886"
    },
    {
        "code": "TZ",
        "emoji": "🇹🇿",
        "unicode": "U+1F1F9 U+1F1FF",
        "name": "Tanzania",
        "title": "flag for Tanzania",
        "dialCode": "+255"
    },
    {
        "code": "UA",
        "emoji": "🇺🇦",
        "unicode": "U+1F1FA U+1F1E6",
        "name": "Ukraine",
        "title": "flag for Ukraine",
        "dialCode": "+380"
    },
    {
        "code": "UG",
        "emoji": "🇺🇬",
        "unicode": "U+1F1FA U+1F1EC",
        "name": "Uganda",
        "title": "flag for Uganda",
        "dialCode": "+256"
    },
    {
        "code": "UM",
        "emoji": "🇺🇲",
        "unicode": "U+1F1FA U+1F1F2",
        "name": "United States Minor Outlying Islands",
        "title": "flag for United States Minor Outlying Islands"
    },
    {
        "code": "US",
        "emoji": "🇺🇸",
        "unicode": "U+1F1FA U+1F1F8",
        "name": "United States",
        "title": "flag for United States",
        "dialCode": "+1"
    },
    {
        "code": "UY",
        "emoji": "🇺🇾",
        "unicode": "U+1F1FA U+1F1FE",
        "name": "Uruguay",
        "title": "flag for Uruguay",
        "dialCode": "+598"
    },
    {
        "code": "UZ",
        "emoji": "🇺🇿",
        "unicode": "U+1F1FA U+1F1FF",
        "name": "Uzbekistan",
        "title": "flag for Uzbekistan",
        "dialCode": "+998"
    },
    {
        "code": "VA",
        "emoji": "🇻🇦",
        "unicode": "U+1F1FB U+1F1E6",
        "name": "Vatican City",
        "title": "flag for Vatican City",
        "dialCode": "+379"
    },
    {
        "code": "VC",
        "emoji": "🇻🇨",
        "unicode": "U+1F1FB U+1F1E8",
        "name": "Saint Vincent and The Grenadines",
        "title": "flag for Saint Vincent and The Grenadines",
        "dialCode": "+1 784"
    },
    {
        "code": "VE",
        "emoji": "🇻🇪",
        "unicode": "U+1F1FB U+1F1EA",
        "name": "Venezuela",
        "title": "flag for Venezuela",
        "dialCode": "+58"
    },
    {
        "code": "VG",
        "emoji": "🇻🇬",
        "unicode": "U+1F1FB U+1F1EC",
        "name": "Virgin Islands, British",
        "title": "flag for Virgin Islands, British",
        "dialCode": "+1 284"
    },
    {
        "code": "VI",
        "emoji": "🇻🇮",
        "unicode": "U+1F1FB U+1F1EE",
        "name": "Virgin Islands, U.S.",
        "title": "flag for Virgin Islands, U.S.",
        "dialCode": "+1 340"
    },
    {
        "code": "VN",
        "emoji": "🇻🇳",
        "unicode": "U+1F1FB U+1F1F3",
        "name": "Viet Nam",
        "title": "flag for Viet Nam",
        "dialCode": "+84"
    },
    {
        "code": "VU",
        "emoji": "🇻🇺",
        "unicode": "U+1F1FB U+1F1FA",
        "name": "Vanuatu",
        "title": "flag for Vanuatu",
        "dialCode": "+678"
    },
    {
        "code": "WF",
        "emoji": "🇼🇫",
        "unicode": "U+1F1FC U+1F1EB",
        "name": "Wallis and Futuna",
        "title": "flag for Wallis and Futuna",
        "dialCode": "+681"
    },
    {
        "code": "WS",
        "emoji": "🇼🇸",
        "unicode": "U+1F1FC U+1F1F8",
        "name": "Samoa",
        "title": "flag for Samoa",
        "dialCode": "+685"
    },
    {
        "code": "XK",
        "emoji": "🇽🇰",
        "unicode": "U+1F1FD U+1F1F0",
        "name": "Kosovo",
        "title": "flag for Kosovo",
        "dialCode": "+383"
    },
    {
        "code": "YE",
        "emoji": "🇾🇪",
        "unicode": "U+1F1FE U+1F1EA",
        "name": "Yemen",
        "title": "flag for Yemen",
        "dialCode": "+967"
    },
    {
        "code": "YT",
        "emoji": "🇾🇹",
        "unicode": "U+1F1FE U+1F1F9",
        "name": "Mayotte",
        "title": "flag for Mayotte",
        "dialCode": "+262"
    },
    {
        "code": "ZA",
        "emoji": "🇿🇦",
        "unicode": "U+1F1FF U+1F1E6",
        "name": "South Africa",
        "title": "flag for South Africa",
        "dialCode": "+27"
    },
    {
        "code": "ZM",
        "emoji": "🇿🇲",
        "unicode": "U+1F1FF U+1F1F2",
        "name": "Zambia",
        "title": "flag for Zambia",
        "dialCode": "+260"
    },
    {
        "code": "ZW",
        "emoji": "🇿🇼",
        "unicode": "U+1F1FF U+1F1FC",
        "name": "Zimbabwe",
        "title": "flag for Zimbabwe",
        "dialCode": "+263"
    }
]

data2.json

[
    ["平均预期寿命", "", "", "种类", "年份"],
    [66.28, "", "", "男", 1981],
    [69.27, "", "", "女", 1981],
    [67.77, "", "", "合计", 1981],
    [66.84, "", "", "男", 1990],
    [70.47, "", "", "女", 1990],
    [68.55, "", "", "合计", 1990],
    [69.63, "", "", "男", 2000],
    [73.33, "", "", "女", 2000],
    [71.40, "", "", "合计", 2000],
    [70.83, "", "", "男", 2005],
    [75.25, "", "", "女", 2005],
    [72.95, "", "", "合计", 2005],
    [72.38, "", "", "男", 2010],
    [77.37, "", "", "女", 2010],
    [74.83, "", "", "合计", 2010],
    [73.64, "", "", "男", 2015],
    [79.43, "", "", "女", 2015],
    [76.34, "", "", "合计", 2015],
    [75.37, "", "", "男", 2020],
    [80.88, "", "", "女", 2020],
    [77.93, "", "", "合计", 2020]
]

如何安装

vscode中下载插件
在这里插入图片描述
在这里插入图片描述

文章来源:https://blog.csdn.net/weixin_43914278/article/details/135558254
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。