Pyecharts bridges Python data work with Apache ECharts rendering for interactive charts. It targets analysts and developers who want configurable visuals in notebooks, HTML, or web apps.
Overview
Pyecharts is a Python plotting library that pairs Python data handling with Apache ECharts, a browser-based visualization engine. The idea is to combine expressive Python with ECharts interaction and chart design when analysis and visualization meet.
The API is designed for concise, chainable calls. The project ships support for dozens of common chart types, flexible configuration options, and documentation with examples. Output can be generated as HTML, static images, or embedded in Jupyter Notebook and JupyterLab workflows.
It integrates with common Python web frameworks including Flask, Sanic, and Django. For geographic work, the library includes a large set of map data files and supports Baidu map integration alongside standard map visualizations.
Install is typically through pip. Usage spans local Python environments, notebook kernels, and framework-backed web pages without requiring a separate charting server product.
Key features
- Chainable Python API for chart construction
- More than 30 common chart types
- Flask, Sanic, and Django integration
- HTML, image, and notebook output modes
- Hundreds of bundled map files
- Baidu map support for geo charts
- Configurable chart styling options
- Jupyter Notebook and JupyterLab usage
Use cases
- Notebook exploratory charts from Python data
- Embedding charts in Django or Flask pages
- Geographic visualization with bundled maps
- Exporting standalone HTML chart pages
- Data analysis presentations in Jupyter