For example, to create a categorical color scale using the Accent color scheme:
const color = d3.scaleOrdinal(d3.schemeAccent);
Source · An array of ten categorical colors represented as RGB hexadecimal strings.
Source · An array of eight categorical colors represented as RGB hexadecimal strings.
Source · An array of eight categorical colors represented as RGB hexadecimal strings.
Source · An array of twelve categorical colors represented as RGB hexadecimal strings.
Source · An array of nine categorical colors represented as RGB hexadecimal strings.
Source · An array of eight categorical colors represented as RGB hexadecimal strings.
Source · An array of nine categorical colors represented as RGB hexadecimal strings.
Source · An array of eight categorical colors represented as RGB hexadecimal strings.
Source · An array of twelve categorical colors represented as RGB hexadecimal strings.
Source · An array of ten categorical colors authored by Tableau as part of Tableau 10 represented as RGB hexadecimal strings.