The supplied color scheme.
Compute a set of color mappings for items in a given set of keys. A higher-order function. Supply color_scheme (and optionally unknown), and it will return a a function that accepts a list of keys
a list of colors in '#rrggbb' format.
the color to use for unknown keys
an object equivalent to a d3 ordinal interpolator.
Compute a set of color mappings for items in a given set of scenarios. A higher-order function. Supply color_scheme (and optionally unknown), and it will return a a function that accepts a list of scenarios
a list of colors in '#rrggbb' format.
the color to use for unknown keys
a d3 ordinal interpolator.
Accept a list of scenarios, and return the default color scheme to use.
Subset a color interpolator to a subdomain. This is used to allow genenrating a swatch for just the relevant items.
a d3 ordinal interpolator.
Generated using TypeDoc
Colors are strings in the form #rrggbb.