For AI agents: the complete documentation index is at llms.txt. Remove the trailing slash from a page URL and append .md to read its Markdown version. For the docs home, use index.md.

Charts

Create interactive charts and graphs in Python with Reflex. Build bar, line, area, pie, scatter, radar, and more chart types on top of Recharts for data visualization — all in pure Python, no JavaScript.

Choosing a charting library

  • Recharts (built in): declarative charts with a simple API for standard business charts like bar, line, area, and pie. Good for dashboards and reports.
  • Plotly (rx.plotly): interactive scientific charts with zoom, pan, and hover, including 3D plots, contours, and statistical charts.
  • Matplotlib (pyplot): render any matplotlib.pyplot figure as a static image. Best when you already have Matplotlib code from notebooks or scripts.
  • AG Charts (enterprise): high-performance charts with animations and advanced features. See the AG Charts docs for examples.