Skip to main content
100%

Experimenting

✓ Published1🌍 Public
Hharoldle
Last edited Mar 29, 2023
Created on Mar 28, 2023

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
MIT Licensed

Similar vizzes