Code Monkey home page Code Monkey logo

learn_to_chart's Introduction

learn_to_chart 使用指南

启动项目

初始化项目

git clone https://github.com/LancelotLewis/learn_to_chart.git

虚拟环境

python -m venv .venv

source .venv/Scripts/activate

安装依赖

pip install -r requirements.txt

示例使用的是 python 3.7.8 ,如果安装的是其他版本的 python,请手动安装 flask、pandas、pyecharts、matplotlib、python-dotenv 即可

启动项目

flask run

开发项目

项目中 demo 分为三个部分

1. 使用 js 库 echarts 绘制图表(纯 js 库,不熟可能难度稍大,但 js 其实挺好学的)

/echarts

2. 使用 python 库 pyecharts 绘制图表(本质上还是用的 echarts,所以尽量还是用 echarts 比较方便)

/pyecharts

3. 使用 python 库 matplotlib 绘制图表(绘制的结果是 jpg 或 png,效果不如 echarts)

/matplotlib

learn_to_chart's People

Contributors

lancelotlewis avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.