pyecharts绘制map地图
pyecharts的安装和地图库的安装可以参照 geo绘图 : https://www.cnblogs.com/qi-yuan-008/p/12025123.html 直接进入 python的具体使用阶段: 首先是导入库和数据,数据可以换成自己想绘制的数据 from pyecharts.faker import Faker from pyecharts import options as opts from pyecharts.charts import Map # 用于测试的例子,部分取自 Faker ,也就是 from pyecharts.faker import Faker provinces = [ " 广东 " , " 北京 " , " 上海 " , " 辽宁 " , " 湖南 " , " 四川 " , " 西藏 " ] guangdong_city = [ " 汕头市 " , " 汕尾市 " , " 揭阳市 " , " 阳江市 " , " 肇庆市 " , " 广州市 " , " 惠州市 " ] country = [ " China " , " Canada " , " Brazil " , " Russia " , " United States " , " Africa " , " Germany " ] value = [300, 100, 2000, 800,