所需文件如图
echarts.min.js 可以在echarts官网 -下载 中找到
app.py
from flask import Flask,render_template
app = Flask(__name__)
@app.route('/')
def echart_page():
return render_template('echart.html')
if __name__ == "__main__":
app.run()
echart.html
ECharts
main.js 还有其他配套文件,都可以从这个模板里下
网页模板下载链接
效果图



