Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[FEATURE]: Allow annotations for scatterternary to reference ternary axes (a,b,c) instead of (x,y)

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

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
javascript

Research direction

Start by locating the scatterternary annotation handling and the annotation declaration path in plotly.js. Check how annotation positions currently use x and y, then determine how a, b, and c coordinates should be interpreted for this plot type. Done means annotations can accept ternary-axis positions without requiring cartesian conversion, with coverage for the requested example.

Written by the indexing model from the issue text.

Description

enhancement feature P2 size: 3

Hi,

Description

For scatterternary plots, it would great if we could specify the annotation positions relative to the a,b, c axes instead of x and y.

Why should this feature be added?

Currently, we have to convert the annotations a,b, c positions into (arbitrary for this plot type) cartesian coordinate space; it would be easier (and be more logical) to be able to use a,b, c in the annotation declaration, e.g:

annotations: [
  {
    //x: 0.1,
    //y: 0.135,
    a: 10,
    b: 70,
    c: 20,
    text: "my text"
  }
]

Many thanks

Dominant language
JavaScript
Stars
18.3k
Forks
2k
Avg merge
1d 19h
Merged PRs (30d)
21

Getting set up

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.

More from plotly/plotly.js

All issues in plotly/plotly.js

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.