{"version":"1.0","type":"rich","title":"[Working with spatial data](https://github.com/enjalot/wwsd)","description":"This example demonstrates how to load and display GeoJSON polygon data on an interactive Mapbox-gl map. It fetches UK county boundaries from an external URL using d3.json, then adds them as a fill layer with a teal color and dark outline. The map initializes with Mapbox’s streets style, centered on the UK, and the code uses the Mapbox-gl API’s `addSource` and `addLayer` methods to render the spatial data. D3 v3 handles the data request, while Mapbox-gl manages the map rendering and interaction.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-9feb3f5175ccf29cd19fea9784f7284b?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}