Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump chart error: not showing the correct levels in y-axis #132

Open
pmagtulis opened this issue Feb 9, 2023 · 2 comments
Open

Bump chart error: not showing the correct levels in y-axis #132

pmagtulis opened this issue Feb 9, 2023 · 2 comments
Labels
📐 bump chart invalid This doesn't seem right

Comments

@pmagtulis
Copy link

In which chart does the bug happen?

-Bump chart

RAWGraphs Version

Web browser and version

Chrome Version 110.0.5481.77.

Operating System

Macbook Pro

Steps to reproduce this

-Upload a dataset 25 subjects ranked 1-25 in 2017 and 2018, but in 2019 and 2020, have varying rankings that go beyond 25 (i.e. the ranked 25 fell down to 39th, but the subject remains 25 in number). So essentially, you have 25 subjects but by 2019 and 2020, the ranking is not 1st-25th but some subjects fell lower and the ranking of the 25 are no longer chronological (see attached file).

-Upload the data in long format.

-Select bump chart. Put the rankings in the rank tab. Leave size blank. Put years as date.

Project file

Additional context
screenshot

screenshot2

screenshot3

screenshot4

So the y-axis in the screenshots stop at 25 even if the rankings go as high as 39 or even 60.

Appreciate the help!

@pmagtulis pmagtulis added bug Something isn't working chart-related labels Feb 9, 2023
@mikima mikima transferred this issue from rawgraphs/rawgraphs-app May 9, 2023
@mikima
Copy link
Member

mikima commented Jun 5, 2023

Can you upload the dataset so i can reproduce it? thanks!

@mikima
Copy link
Member

mikima commented Jul 6, 2023

Not sure what the expected result is. A bump chart reorders streams according to their value, from the highest to the lowest. Therefore, if we have rankings of 1, 2, and 60, all three will be plotted with the same padding, regardless of the absolute value.

Below the project file:
bumpchart-banks.rawgraphs.zip

@mikima mikima added 📐 bump chart invalid This doesn't seem right and removed bug Something isn't working chart-related labels Jul 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📐 bump chart invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants