plotly / plotly/plotly.js

[FEATURE]: Add scattergl trace for ternary plot

Open
#7,058 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature P3
Dominant language
JavaScript
Stars
18.3k
Forks
2k
Avg merge
2d 12h
Merged PRs (30d)
28

Description

Hello,

Currently the Ternary Plot only supports scatterternary trace, I am developing an open source glass web database where ternary visualizations are very usefull. However, I can sense that there's a performace lag when I have more points to render.

This amount of data is fine and can be zoomed and panned without lag (around 300 points):
image

But with this, a bit lag while hovering and zooming (around 3000 points):
image

And below is of course very laggy (around 30000 points):
image

I found one comment https://github.com/plotly/plotly.js/issues/1385#issuecomment-1538310933 from an old issue asking the same thing. It seems that it is not so easy to implement. Despite this, I would like to open this new issue to continue the discussion.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the existing scatterternary trace and the discussion in issue #1385, since the issue names no source files or tests. Done would mean defining and implementing scattergl support for ternary plots, with responsive hovering, zooming, and panning for the larger datasets described.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
data-visualization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.