Skip to content

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.

Image preview of related sample Histogram widget

Histogram widget

Image preview of related sample HistogramRangeSlider

HistogramRangeSlider

Image preview of related sample Update a renderer's attribute

Update a renderer's attribute

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.