Registry / analytics / reflex-components-recharts

reflex-components-recharts

JSON →
library0.9.1pypypi✓ verified 83d ago

A Reflex component library wrapping Recharts for building interactive charts (line, bar, area, scatter, etc.) in Reflex web apps. Current version: 0.9.1. Release cadence is irregular; tied to Reflex and Recharts updates.

pip install reflex-components-recharts
INSTALL
IMPORT
SIG · REFLEX-COMPONENTS-
R
reflex-components-recharts
analyticspythonv0.9.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Area
✓ from reflex_components_recharts import Area
✗ from reflex_components_recharts import Recharts
Bar
✓ from reflex_components_recharts import Bar
Line
✓ from reflex_components_recharts import Line

Basic line chart with two series

import reflex as rx from reflex_components_recharts import LineChart def index() -> rx.Component: data = [ {"name": "A", "uv": 400, "pv": 240}, {"name": "B", "uv": 300, "pv": 139}, {"name": "C", "uv": 200, "pv": 980}, ] return LineChart( data=data, x_axis_data_key="name", lines=[ {"data_key": "uv", "stroke": "#8884d8"}, {"data_key": "pv", "stroke": "#82ca9d"}, ], ) app = rx.App() app.add_page(index)
Debug
Known issues
breakingAPI changes between 0.8.x and 0.9.x: `lines` prop now accepts list of dicts instead of list of Line components. Also `x_axis_data_key` replaced `x_key`.
fix
Update chart definitions using dict format and rename `x_key` to `x_axis_data_key`.
affects: 0.8.x to 0.9.x
deprecated`on_click` and `on_hover` callbacks on chart components deprecated in 0.9.0; use `echarts_event` or custom event listeners instead.
fix
Replace `on_click` with event listeners like `on_click_event` (see docs).
affects: >=0.9.0
gotchaReflex version compatibility: This library may lag behind new Reflex versions. Always check that your Reflex version matches the required Reflex version in the package's dependencies.
fix
Pin Reflex version: `pip install reflex==0.6.0` or use the same minor version as the library was released against.
affects: all
gotchaData keys must be strings; integer keys will cause silent rendering failures.
fix
Ensure all data objects use string keys (e.g., `{'uv': 5}` not `{0: 5}`).
affects: all
Upgrade
Version history
0.9.1latest on PyPI · released Apr 27, 2026
Audit
Dependencies
reflexrequiredRuntime dependency - charts are Reflex components
Agent activity
33 hits · last 30 days
node
28
OpenAI (training)
1
Resources

No resource links recorded.

reflex-components-recharts — pip install reflex-components-recharts · libregistry