# !/usr/bin/env/python
# _*_coding:utf-8 _*_
# author:LiangJianfei

# 3 Funnel（漏斗图）
from pyecharts import Funnel
attr =["衬衫", "羊毛衫", "雪纺衫", "裤子", "高跟鞋", "袜子"]
value =[20, 40, 60, 80, 100, 120]
funnel =Funnel("漏斗图示例")
funnel.add("商品", attr, value, is_label_show=True, label_pos="inside", label_text_color="#fff")
funnel.render("rander-04.html")