              type: 'pie',
                radius: '65%',
                data: dataSeries,
                emphasis: {
                    itemStyle: {
                        shadowBlur: 10,
                        shadowOffsetX: 0,
                        shadowColor: 'rgba(0, 0, 0, 0.5)'
                    }
                }
            }]
        };
        return options;
    }

    function initFigure(id, title, dataArr){
        echarts.init(document.querySelector("#" + id)).setOption(setFigureOpt