🌍 Public
Viewing a saved revision (read-only)
75eed9ee66854567b3b21c559c61c078
Experimenting
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 description