china-map-echarts
v1.0.5
Published
This package provides a collection of JSON data files containing administrative region codes and corresponding geographical data formatted for use with ECharts maps. It includes data for provinces, cities, and counties across China.
Downloads
93
Readme
China Map for ECharts
This package provides a collection of JSON data files containing administrative region codes and corresponding geographical data formatted for use with ECharts maps. It includes data for provinces, cities, and counties across China.
Installation
To install the package, run the following command in your project directory:
const mapData = require('china-map-echarts');
ES Modules
If you are using ES modules, you can import the data like this:
import mapData from 'china-map-echarts';