Echarts基于geojson的3D柱状图

echarts社区例子:[Make A Pie - 3d地图画线1](https://www.makeapie.com/editor.html?c=xSy3KhFV4M)

效果图:

![md_a203ba23.png](https://gitee.com/dxwangnima/images/raw/master/markdown/md_a203ba23.png)

# npm安装:

```JavaScript

npm install echarts

npm install echarts-gl

```

引入方式:

```JavaScript

import echart from "echarts";

import "echarts-gl";

import "echarts/map/js/china";

```

或者index.html cdn引入

```java

   

   

   

   

   

   

   

   

   

   

   

```

# 1.数据结构

```JavaScript

bPoint=[

              {

                name: "名字",//名字

                value:[105.93318,//经度

                      37.981425,//纬度

                          2399//数值

                      ]

              }],

```

# 2.option配置

```JavaScript

```

# 3.源码

```JavaScript

```

# 4.geojson数据来自:

[地图选择器 (aliyun.com)](http://datav.aliyun.com/tools/atlas/index.html)

通过axios请求:[获取geojson数据](https://geo.datav.aliyun.com/areas/bound/geojson?code=100000_full)

![md_f217f3a5.png](https://gitee.com/dxwangnima/images/raw/master/markdown/md_f217f3a5.png)

遇到什么问题,可留言,看到会尽快回复。

你可能感兴趣的:(Echarts基于geojson的3D柱状图)