pyecharts
塞上江南o
这个作者很懒,什么都没留下…
展开
-
pyecharts分布统计图
from pyecharts.globals import ThemeTypefrom pyecharts.faker import Fakerfrom pyecharts import options as optsfrom pyecharts.charts import Barfrom pyecharts.charts import Lineimport numpy as npimport pandas as pdimport jsonfrom pandas.io.json import原创 2020-06-20 13:28:51 · 1972 阅读 · 2 评论 -
pyecharts自动轮播图
目录1. 自动轮播图1. 自动轮播图from pyecharts.charts import Bar, Line, Tab, Timelinefrom pyecharts import options# 1. 准备数据cate = ["湖北", "四川", "重庆", "河北", "云南"]Confirmed_diagnosis_data = [450, 300, 232, 224, 144]death_data = [50, 30, 22, 24, 44]# 2. 创建图表对象bar原创 2020-06-16 00:27:24 · 1967 阅读 · 0 评论 -
pyecharts选项卡图
目录1. 选项卡图1. 选项卡图from pyecharts.charts import Bar, Line, Tabfrom pyecharts import options# 1. 准备数据cate = ["湖北", "四川", "重庆", "河北", "云南"]Confirmed_diagnosis_data = [450, 300, 232, 224, 144]death_data = [50, 30, 22, 24, 44]# 2. 创建图表对象bar = Bar()bar原创 2020-06-16 00:04:01 · 3080 阅读 · 2 评论 -
pyecharts 组合图
目录from pyecharts.charts import Bar, Line, Gridfrom pyecharts import options# 1. 准备数据cate = ["湖北", "四川", "重庆", "河北", "云南"]Confirmed_diagnosis_data = [450, 300, 232, 224, 144]death_data = [50, 30, 22, 24, 44]# 2. 创建图表对象bar = Bar()bar.add_xaxis(cat原创 2020-06-14 23:39:50 · 5109 阅读 · 0 评论 -
pyecharts 地图
目录1. 地图1. 地图from pyecharts.charts import Mapfrom pyecharts import options# 1. 准数据data = [("湖北", 1500), ("四川", 340), ("西藏", 34), ("黑龙江", 123)]# 2. 创建地图对象map1 = Map()# 3. 关联数据map1.add("疫情数据", data, "china")# 4. 设置map1.set_global_opts( # 设置原创 2020-06-14 23:23:13 · 1077 阅读 · 0 评论 -
pyecharts折线图
目录1. 折线图1. 折线图from pyecharts.charts import Linefrom pyecharts import options# 1. 准备数据cate = ["湖北", "四川", "重庆", "河北", "云南"]Confirmed_diagnosis_data = [450, 300, 232, 224, 144]death_data = [50, 30, 22, 24, 44]# 2. 创建图表对象line = Line()# 3. 关联数据li原创 2020-06-14 22:51:38 · 1833 阅读 · 2 评论 -
pyecharts饼状图
目录1. 饼状图1. 饼状图from pyecharts.charts import Piefrom pyecharts import options# 1. 准备数据cate = ["湖北", "四川", "重庆", "河北", "云南"]Confirmed_diagnosis_data = [450, 300, 232, 224, 144]death_data = [500, 30, 22, 24, 44]# 2. 创建图表对象bar = Bar()# 3. 关联数据bar.原创 2020-06-14 21:50:17 · 1721 阅读 · 0 评论 -
pyecharts柱状图
目录1. 柱状图1. 柱状图from pyecharts.charts import Barfrom pyecharts import options# 1. 准备数据cate = ["湖北", "四川", "重庆", "河北", "云南"]Confirmed_diagnosis_data = [450, 300, 232, 224, 144]death_data = [500, 30, 22, 24, 44]# 2. 创建图表对象bar = Bar()# 3. 关联数据bar.原创 2020-06-14 21:47:34 · 1569 阅读 · 0 评论