pyecharts 饼图

from pyecharts import Pie
attr = ["铅笔","钢笔","画笔","圆珠笔","水笔","工笔"]
v1 = [11,12,13,14,15,10]
pie = Pie("饼图")
pie.add("服装",attr,v1,is_label_show=True)
pie.render('pie.html')

猜你喜欢

转载自blog.csdn.net/XC_LMH/article/details/86182107