powered by
A function to retreive a vector of hex codes for a non-numeric (or non-ordererd) variable.
pal_default(n)
A character vector of hex codes.
The number of colours (excluding an NA colour).
https://blog.datawrapper.de/colors-for-data-vis-style-guides/
scales::show_col(pal_default(9))
Run the code above in your browser using DataLab