Black Lives Matter. Please consider donating to Black Girls Code today.

Update a choropleth layer by zoom level

Is there a way to update a choropleth map when zooming in/out. Just like this from Mapbox:

Thank you

Any update on this? I would also like to use this feature in my dash app.