This demo shows how to combine scale values into ranges. The ranges are defined within the array assigned to the ranges option of the rangeContainer object. The colors for the ranges are taken from the predefined palette specified by the palette option.