rempsyc / busara_dashboard

The Missing Majority in Behavioural Science Dashboard
https://remi-theriault.com/dashboards/missing_majority
1 stars 0 forks source link

Think about possible alternative to fix duplicate colours for many countries in scatter plot #40

Closed rempsyc closed 3 months ago

rempsyc commented 5 months ago

Patrick noted in #31,

There are a couple miscellaneous graphical issues that I noticed. [...] Color scheme on the country by year graph. There seem to be a bunch of duplicate colors on the plot

Screenshot 2024-03-18 at 00 25 00

I answered,

The duplicate colours is due to our very high number of countries so R generates slightly different tones of the base colours meaning for a very large number, these colours are going to look pretty damn similar. It is possible to scroll to see all the different colours using the scrolling bar on the right.

We could try to fix this issue here. One possible "fix" would simply be to add instructions so people know to click on individual countries and scroll down (#35).

rempsyc commented 3 months ago

One workaround I am thinking of is using a colour palette with more colours (so more possible variety) and then randomizing the order so that all the similar colours are not clustered together. It would help a little bit but the real problem is the number of groups (countries) we have, +350 colours is really is really difficult to visualize properly.