Echarts for Python from echarts import Echart, Legend, Pie chart = Echart() chart.use(Legend(...)) chart.use(Pie(..))