Get the name of the custom palette for a given variable
Custom palette as a vector (see example).
Name of variable to look up in the custom palette vector.
Name of ColorBrewer palette.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.