🌍 Public
Viewing a saved revision (read-only)
83161f247dca4e8e9dec272050444467
Untitled
This visualization displays a single country, Germany, extracted from a world GeoJSON dataset and rendered in red on a blank SVG canvas. The map uses the Mercator projection, specifically centered on GPS coordinates [2, 47] with a scale factor of 980, via the `d3.geoMercator` projection. The code loads world boundaries from a remote GitHub repository using `d3.json`, filters the features to only include Germany, and draws the path with `d3.geoPath` and the `.projection()` method. The result is a simple, static choropleth-style map focusing solely on that nation.
AI-generated descriptionA demonstration of how to start using D3 version 6.