-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Hi, just digging into reviews on a paper and wanted to explore some of the reviewer questions by quickly visualising combinations of variables on the D-PLACE site. As I did this I came up with a few tweaks that I think would improve the map view, which overall, is great - especially the ability to visualise two variables at once!
[To reproduce the search I did, got to the home page -> variables - > EA060. This produces a map view. Then add EA033 to the visualisation.]
-
Is there a way to select colours for display (even when only examining a single variable) such that the contrast among them is maximized? E.g., could we use a pre-selected colour palette for variables with 2,3,4 etc. codes, with colours assigned so that the codes that are maximally distinguishable/differentiable when displayed on a map? Color brewer (https://colorbrewer2.org/#type=sequential&scheme=BuGn&n=3) is a classic source for this type of palette (and you can copy the RGB or other codes for selected palettes, with options for both ordinal and categorical variables), but I’m sure there are other plug-and-play packages we might easily integrate here?
-
When two variables are selected, is there a way to extend the previous palette so that the same colours aren’t selected for both variables, as happened here? One thing that could help for cases where there are large numbers of codes would be to first rank codes by the number of societies with each code, and to prioritise the most distinguisable colours for the most common codes.
-
Could the drop-down map legends be tweaked so that both can be viewed at once? Currently, if one is selected, the other collapses.
-
Advanced wish: could a summary matrix appear, showing the number of cases with each code (e.g., number of societies with “Junior Age” and “Acephalous”; “Junior Age and One level”; etc. to “Activity absent” and “Four levels”) - See example pasted into screenshot.
