A matplotlib-style Python API for Apache ECharts. Write familiar code, get beautiful interactive charts. pandas-native, 16 chart types, built for notebooks and dashboards.
If you know matplotlib, you already know echartsy. Same fluent API, but the output is an interactive ECharts visualisation you can hover, zoom, and embed.
from echartsy import Figure from echartsy.styles import StylePreset import pandas as pd # Load your data df = pd.DataFrame({ "month": ["Jan","Feb","Mar","Apr","May","Jun"], "revenue": [2.1,2.4,2.8,3.1,2.9,3.3] }) # Create the chart fig = Figure(style=StylePreset.DASHBOARD_DARK) fig.bar(df, x="month", y="revenue") fig.show()
from echartsy import Figure fig = Figure(title="Quarterly Growth") fig.plot( df, x="quarter", y="users", smooth=True, area=True ) fig.show()
Install echartsy, pass a DataFrame, call .show(). That's it. The rest is just making it look exactly how you want.