Socket
Book a DemoInstallSign in
Socket

echarts-countries-js

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

echarts-countries-js

Packages all countries for front end developers

1.0.5
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

echarts-countries-js

npm version

It collects all geo-jsons in javascript of 213 countries and regions and acts as a static asset to jupyter-echarts or your Apache ECharts (incubating) 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://echarts-maps.github.io/echarts-countries-js/echarts.min.js"></script>
	<script src="https://echarts-maps.github.io/echarts-countries-js/echarts-countries-js/Switzerland.js"></script>
  </head>
  <body>
	<div id='map' class='citymap'></div>
	<script src='demo.js'></script>
	<script>
	  make_map('瑞士', 'map');
	</script>
  </body>
</html>

Usage with echarts

Featuring Cities(or for Single Download)

Cities:

Development

$ npm install
$ gulp switzerland # as this is special fix
$ gulp

Credit and geojson source

pissang and his starbucks project.

Switzerland map comes from natural earth data

License

ODC Open Database License (ODbL)

Note

This projects is NOT associated with official Apache ECharts (incubating) project and is independently maintained by @chfw.

Keywords

echarts

FAQs

Package last updated on 13 Feb 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.