plotly / plotly/plotly.js

Glitch when trying to display few data entries sharing only two different dates

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

Nobody has claimed this yet.

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

Description

I have a scatter plot (grouped) that works correctly for every other dataset except for this one. Here, the last date should be in 2024, but is displayed in 2027.

Image

This one only has 4 entries that should display on 2 different dates.

,id,country,affiliation,draft,title,submission_date,wg,docid
0,116736,,ARTICLE 19,draft-irtf-hrpc-research-14,Research into Human Rights Protocol Considerations,2017-10-01,,RFC8280
1,119890,,Oxford Internet Institute,draft-irtf-hrpc-research-14,Research into Human Rights Protocol Considerations,2017-10-01,,RFC8280
2,116736,,University of Amsterdam,draft-irtf-hrpc-guidelines-21,Guidelines for Human Rights Protocol and Architecture Considerations,2024-09-01,,RFC9620
3,125317,,GG,draft-irtf-hrpc-guidelines-21,Guidelines for Human Rights Protocol and Architecture Considerations,2024-09-01,,RFC9620

Now, if I change the month of the last entry, then the display works. If I add a 5th entry, the display also works. I'm not sure what to make of that:

Image

Might that be a tiny bug?

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

Reproduce the grouped scatter plot using the four supplied rows, especially the two 2017 and two 2024 submission dates. Compare the rendered date with variants that change the final month or add a fifth row. Done means the final date remains 2024 for the original four-entry dataset.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
data-visualization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.