{"version":"1.0","type":"rich","title":"Map of Spain","description":"This example displays a map of Spain, projected using a Mercator projection and rendered as a single SVG path element. It loads world country boundaries from a TopoJSON file hosted on jsDelivr, then extracts Spain’s geometry using `topojson.feature`. The code uses `d3.geoMercator()` with `fitSize` to scale and center the map, and `d3.geoPath()` to generate the SVG path data. It demonstrates loading external GeoJSON/TopoJSON data asynchronously with `d3.json` and appending the result to an SVG canvas.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/dbede4ab7d35497598d688a8fa02683e?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}