Data-Driven Bubble Layer Styling

This sample shows how to use data-driven styles on a BubbleLayer to define the radius and color of each circle based on the magnitude of each data point. The data in this sample consists of point based data that represents significant earthquakes that have occurred in the last 30 days. This data is sourced from the USGS Earthquake Hazards Program.