MCPcopy Index your code
hub / github.com/echarts-maps/echarts-countries-js

github.com/echarts-maps/echarts-countries-js @1.0.4

Chat with this repo
repository ↗ · DeepWiki ↗ · release 1.0.4 ↗ · + Follow
267 symbols 911 edges 220 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

echarts-countries-js

npm version

It collects all geo-jsons in javascript of 212 countries and regions and acts as a static asset to jupyter-echarts or your echarts collection.

Installation

npm i echarts-countries-js

This library will be included in pyecharts. No action is required from pyecharts user.

echarts usage

<html>
  <head>
    <meta charset="utf-8" />
    <style>
      .citymap{
      width: 100%;
      height: 100%;
      }
    </style>
    <script src="https://pyecharts.github.io/echarts-countries-js/echarts.min.js"></script>
    <script src="https://pyecharts.github.io/echarts-countries-js/dist/France.js"></script>
  </head>
  <body>





    <script src='https://pyecharts.github.io/echarts-countries-js/demo.js'></script>
    <script>
      make_map('法国', 'france');
    </script>
  </body>
</html>

Usage with echarts

Featuring Cities(or for Single Download)

Cities:

  1. 阿富汗 (Afghanistan)
  2. 阿尔巴尼亚 (Albania)
  3. 阿尔及利亚 (Algeria)
  4. 安道尔 (Andorra)
  5. 安哥拉 (Angola)
  6. 安圭拉 (Anguilla)
  7. 安提瓜和巴布达 (Antigua and Barbuda)
  8. 阿根廷 (Argentina)
  9. 亚美尼亚 (Armenia)
  10. 澳大利亚 (Australia)
  11. 奥地利 (Austria)
  12. 阿塞拜疆 (Azerbaijan)
  13. 巴林 (Bahrain)
  14. 孟加拉国 (Bangladesh)
  15. 巴巴多斯 (Barbados)
  16. 白俄罗斯 (Belarus)
  17. 比利时 (Belgium)
  18. 伯利兹 (Belize)
  19. 贝宁 (Benin)
  20. 百慕达群岛 (Bermuda)
  21. 不丹 (Bhutan)
  22. 玻利维亚 (Bolivia)
  23. 波斯尼亚-黑塞哥维那 (Bosnia and Herzegovina)
  24. 博茨瓦纳 (Botswana)
  25. 巴西 (Brazil)
  26. 英属印度洋领地 (British Indian Ocean Territory)
  27. 英属维尔京群岛 (British Virgin Islands)
  28. 文莱 (Brunei)
  29. 保加利亚 (Bulgaria)
  30. 布基纳法索 (Burkina Faso)
  31. 蒲隆地 (Burundi)
  32. 柬埔寨 (Cambodia)
  33. 喀麦隆 (Cameroon)
  34. 加拿大 (Canada)
  35. 佛得角 (Cape Verde)
  36. 开曼群岛 (Cayman Islands)
  37. 中非共和国 (Central African Republic)
  38. 乍得 (Chad)
  39. 智利 (Chile)
  40. 哥伦比亚 (Colombia)
  41. 科摩罗 (Comoros)
  42. 刚果-布拉柴维尔 (Congo-Brazzaville)
  43. 刚果金 (Congo-Kinshasa)
  44. 库克群岛 (Cook Islands)
  45. 珊瑚海群岛领地 (Coral Sea Islands Territory)
  46. 哥斯达黎加 (Costa Rica)
  47. 克罗地亚 (Croatia)
  48. 古巴 (Cuba)
  49. 塞浦路斯 (Cyprus)
  50. 捷克 (Czechia)
  51. 丹麦 (Denmark)
  52. 吉布提 (Djibouti)
  53. 多米尼克 (Dominica)
  54. 多米尼加共和国 (Dominican Republic)
  55. 东帝汶 (East Timor)
  56. 厄瓜多尔 (Ecuador)
  57. 埃及 (Egypt)
  58. 萨尔瓦多 (El Salvador)
  59. 赤道几内亚 (Equatorial Guinea)
  60. 厄立特里亚 (Eritrea)
  61. 爱沙尼亚 (Estonia)
  62. 埃塞俄比亚 (Ethiopia)
  63. 福克兰群岛 (Falkland Islands)
  64. 法罗群岛 (Faroe Islands)
  65. 密克罗尼西亚联邦 (Federated States of Micronesia)
  66. 斐济 (Fiji)
  67. 芬兰 (Finland)
  68. 法国 (France)
  69. 加蓬 (Gabon)
  70. 格鲁吉亚 (Georgia)
  71. 德国 (Germany)
  72. 加纳 (Ghana)
  73. 直布罗陀 (Gibraltar)
  74. 希腊 (Greece)
  75. 格陵兰 (Greenland)
  76. 危地马拉 (Guatemala)
  77. 根西 (Guernsey)
  78. 几内亚比索 (Guinea-Bissau)
  79. 几内亚 (Guinea)
  80. 圭亚那 (Guyana)
  81. 海地 (Haiti)
  82. 洪都拉斯 (Honduras)
  83. 匈牙利 (Hungary)
  84. 冰岛 (Iceland)
  85. 印度 (India)
  86. 印度尼西亚, 印尼 (Indonesia)
  87. 伊拉克 (Iraq)
  88. 爱尔兰 (Ireland)
  89. 伊朗 (Islamic Republic of Iran)
  90. 马恩岛 (Isle of Man)
  91. 以色列 (Israel)
  92. 意大利 (Italy)
  93. 牙买加 (Jamaica)
  94. 日本 (Japan)
  95. 泽西 (Jersey)
  96. 约旦 (Jordan)
  97. 哈萨克斯坦 (Kazakhstan)
  98. 肯尼亚 (Kenya)
  99. 基里巴斯 (Kiribati)
  100. 科威特 (Kuwait)
  101. 吉尔吉斯斯坦 (Kyrgyzstan)
  102. 老挝 (Laos)
  103. 拉脱维亚 (Latvia)
  104. 黎巴嫩 (Lebanon)
  105. 莱索托 (Lesotho)
  106. 利比里亚 (Liberia)
  107. 利比亚 (Libya)
  108. 列支敦士登 (Liechtenstein)
  109. 立陶宛 (Lithuania)
  110. 卢森堡 (Luxemburg)
  111. 马其顿 (Macedonia)
  112. 马达加斯加 (Madagascar)
  113. 马拉维 (Malawi)
  114. 马来西亚 (Malaysia)
  115. 马尔代夫 (Maldives)
  116. 马里 (Mali)
  117. 马耳他 (Malta)
  118. 马绍尔群岛 (Marshall Islands)
  119. 毛里塔尼亚 (Mauritania)
  120. 毛里求斯 (Mauritius)
  121. 墨西哥 (Mexico)
  122. 摩尔多瓦 (Moldova)
  123. 摩纳哥 (Monaco)
  124. 蒙古 (Mongolia)
  125. 黑山 (Montenegro)
  126. 蒙特塞拉特 (Montserrat)
  127. 摩洛哥 (Morocco)
  128. 莫桑比克 (Mozambique)
  129. 缅甸 (Myanmar)
  130. 纳米比亚 (Namibia)
  131. 尼泊尔 (Nepal)
  132. 新西兰 (New Zealand)
  133. 尼加拉瓜 (Nicaragua)
  134. 尼日尔 (Niger)
  135. 尼日利亚 (Nigeria)
  136. 纽埃 (Niue)
  137. 朝鲜 (North Korea)
  138. 挪威 (Norway)
  139. 阿曼 (Oman)
  140. 巴基斯坦 (Pakistan)
  141. 帕劳 (Palau)
  142. 巴勒斯坦 (Palestine)
  143. [巴拿马](https://pyecharts.github.io/echarts-countries-

Core symbols most depended-on inside this repo

o
called by 4
echarts-countries-js/china.js
t
called by 4
echarts-countries-js/world.js
log
called by 2
echarts-countries-js/Bermuda.js
log
called by 2
echarts-countries-js/Turkey.js
log
called by 2
echarts-countries-js/Luxemburg.js
log
called by 2
echarts-countries-js/United_Arab_Emirates.js
log
called by 2
echarts-countries-js/Chad.js
log
called by 2
echarts-countries-js/South_Korea.js

Shape

Function 267

Languages

TypeScript100%

Modules by API surface

echarts.min.js49 symbols
echarts-countries-js/world.js1 symbols
echarts-countries-js/index.js1 symbols
echarts-countries-js/china.js1 symbols
echarts-countries-js/Zimbabwe.js1 symbols
echarts-countries-js/Zambia.js1 symbols
echarts-countries-js/Yemen.js1 symbols
echarts-countries-js/Vietnam.js1 symbols
echarts-countries-js/Venezuela.js1 symbols
echarts-countries-js/Vatican_City.js1 symbols
echarts-countries-js/Vanuatu.js1 symbols
echarts-countries-js/Uzbekistan.js1 symbols

For agents

$ claude mcp add echarts-countries-js \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact