Skip to content

[BUG]: scattergl hover is slow above 100k points #8134

Open

Description

@camdecoster

Description

With 100,000 or more points, hovering over a scattergl trace is much slower than with 99,999 points.

Steps to reproduce

  • Open Plotly devtools and paste the following into the browser devtools console:
let n = 100000;

Plotly.newPlot('graph', [{
  type: 'scattergl',
  mode: 'markers',
  x0: 0,
  dx: 1,
  y: Array(n).fill(0)
}]);
  • Hover over individual points and note the lag
  • Change n to 99999 and note that hover is fast

Notes

Activity

  1. added
    bug
    P3
    on Oct 20, 2026
  2. hobob0t commented on Nov 25, 2026

    @hobob0t

    I'm testing/experimenting with a fork I made and committed at main...hobob0t:plotly.js:scattergl_hover_slow

  3. hobob0t commented on Dec 4, 2026

    @hobob0t

    Based on further testing I opened PR #8198
    If this sounds good to the maintainers please assign the ready-for-pr tag, which I forgot to ask for earlier. I changed the PR to draft while I await the tag.
    Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3bugsize: 3

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions