UArizonaGSICampusLivingLab / gsi-dashboard

https://viz.datascience.arizona.edu/gsi-dashboard/
MIT License
0 stars 0 forks source link

Choose colors for sites #22

Closed Aariq closed 9 months ago

Aariq commented 10 months ago

Good colors for qualitative data are:

The cols4all package includes a bunch of palettes and a Shiny app color palette picker that you can get to with c4a_gui().

Two options that are colorblind friendly, vibrant (good for small points), and "fair" (perceptually even) are "r4" and "vibrant"

library(cols4all)
#for hex codes:
c4a("misc.r4")
c4a("tol.vibrant")

#to see the colors:
c4a_plot("misc.r4")
c4a_plot("tol.vibrant")