This is an example of zoom dependent Carto.
For this demo, we will style 2 tiles from the same dataset:
- Zoom level 6: https://vizzuality.cartodb.com/tiles/sql_statement/6/31/21.png
- Zoom level 8: https://vizzuality.cartodb.com/tiles/sql_statement/8/125/83.png
Our style will make the polygons default to blue, but at zoom level 8 the polygons will be yellow:
Our Carto stylesheet for this is: