Experimenting
✓ Published1🌍 Public
This example zooms in on Vietnam using a Mercator projection, filling the country’s outline in red against a blank background. It filters a world GeoJSON dataset by country name and renders the selected feature as a single SVG path. The code uses `d3.geoMercator`, `d3.geoPath`, and `topojson.feature` to handle projection and data conversion, with the geographic data pulled from a remote GitHub repository.
AI-generated descriptionMIT Licensed