Customize ColorSlider Histogram

Explore in the sandboxView live

This sample demonstrates how to update the color of Histogram bars (bins) to match the color of features defined by the renderer.

As the user slides the slider thumbs, the histogram bars and renderer update to match the features in the map.

Data lines are also rendered on the histogram to provide context and meaning to specific data values. These data lines can be useful for maps intended for communicating and influencing policy changes.