I have been diving into the Mapbox GL JS library lately and am super impressed and excited by the possibilities and capabilities. Currently I am looking for a solution to building choropleth maps, each based on a different indicator field which could be selected by toggle-button or dropdown.
I've come across an example that is similar to what I have in mind, but I am wondering if this might be done more efficiently with the advent of data-driven styling.
Another goal would be to generate natural breaks values (or other classification method) dynamically when an indicator field is selected based on the range of data, and then push these values to a legend.
Finally, joining data to a google sheet for field/indicator values would be amazing, but I don't know if this sort of join of the data to a google sheet is possible for polygon data. However it is done with X, Y point data in several examples here using util.getJSON.