data-driven styling

Data-driven styling allows you to style your spatial data based on its properties. For example, with data-driven styling you can change the radius of a circle at an intersection based on the number of pedestrians crossing the intersection, or change the color of a state polygon based on the population of each state. Data-driven styling is available in Mapbox Studio, Mapbox GL JS, the Mapbox Maps SDK for iOS, and the Mapbox Maps SDK for Android. Check out the Mapbox GL data-driven style reference for more information.