{"version":"1.0","type":"rich","title":"Add layer | CARTO","description":"This example shows how to add a single CARTO layer to an interactive map. It displays populated places as points on a global basemap, centered at [0,0] with zoom level 1. The visualization uses Mapbox GL JS for map rendering and the CARTO VL library (v1.4.1) to define a data source from the `populated_places` dataset and add it as a layer to the map. The basemap uses CARTO’s `voyager` style, and the layer is added before the `watername_ocean` layer. A loading spinner hides once the layer finishes loading.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-d29a638ca760c0dc2b34d84982d504d5?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}