DevExtreme v23.1 is now available.
Explore our newest features/capabilities and share your thoughts with us.
This demo shows how to color specific map areas using a palette. In the VectorMap component, a palette defines a range of colors that are used to paint areas. This range is divided into segments using the value assigned to the colorGroups property. Each segment contributes a color into an array of colors.
The map in this demo represents the top 40 countries by population. Map areas are colored according to the percentage of population.