Skip to content

Performance degradation for large datasets using bar charts - v3.0 #6267

@sudo-ds

Description

@sudo-ds

What is the current behavior?

Version 3.0 has significantly degraded performance on larger datasets when bar charts are present. In the provided example if you remove the bar chart, the performance is mostly the same between versions.

The provided example is a real-world scenario from our app. I'm including both charts (which have synced tooltips) so you have the full picture

I didn't know if this would be duplicated issue but Ive came a cross #6207 which seems to have also problem with performance but we are not dealing with the debounce.

Screen.Recording.2025-09-03.at.9.08.00.AM.mov

What is the expected behavior?

  • Keeping same performance or at least not significantly degraded
Screen.Recording.2025-09-03.at.9.08.19.AM.mov

Please provide a demo of the problem in a sandbox

Which versions of Recharts, and which browser / OS are affected by this issue? Did this work in previous versions of Recharts?

  • Version 3.0 - degraded
  • Version 2.0 - works OK
  • Browser/OS - Agnostic

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions