2021-12-18 Myfirst Echart
2021-12-18 本文已影响0人
BanieLiang
This is my first echart
program as below:
-- coding: utf-8 --
"""
Created on Sat Dec 18 22:46:13 2021
@author: banie Liang
"""
from pyecharts.charts import Bar
bar= Bar()
bar.add_xaxis(["Jan","Feb","Mar","Apr","May","Jun"])
bar.add_yaxis("零基础学Pthon", [2576,1888,1359,3400,4050,5500])
bar.add_yaxis("零基础学Pthon1", [2546,8898,2279,3900,2500,7500])
bar.render("mycharts.html")