Open RonBarkan opened 1 year ago
Hi Ron, Thanks for this issue report. On the Per Variant page, by default the hover box is ordered by frequency, and so should match the order of the lines: Though you can change this at the top, using some of the options there:
In the Per Country graphs, the hover legend is sorted by frequency, with the most frequent variants shown at the top: It would be nice to offer more options for this on this page, but this functionality on the Per Variant page was provided by a contributor. We'd welcome PRs that might extend this similar functionality to the Per Country page!
The showing zero-frequency in the legends is something we've tried to tackle in the past (#287 ). Unfortunately there's some mis-coordination between the plotting and the legend functionality - if we don't include zero values then the lines don't plot, but including them means they show up in the legends. There is some effort to revamp this part of the plotting entirely, which may tackle this, but again, this is something we've not had much time to resolve.
I'm sorry the legends aren't always as clear as they could be, we do try and improve things when we can, but unfortunately are a very small team running the website just when we can, so it can be difficult to push such improvements forward!
This bug is only about the Per Country (or per State) graphs, which is your last attachment above.
You can see there that the plot has a light pink at the top, but the light pink is maybe the 5th row on the hover window. Because there are many colors, they become similar, sometimes too similar, so it becomes quite a task.
When hovering over the variant graph with the mouse pointer, a window opens up. Unfortunately, the data presented is very confusing:
With a more user-friendly presentation, reading the data will become much easier to read and analyze, instead of struggling to understand what the window presents.