Skip to main content
100%

Sweden map

✓ Published1🌍 Public
VVenkata Sai Preetham
Last edited Jul 10, 2022
Created on Jul 10, 2022

This example presents a choropleth-style map of Sweden’s counties, rendered as SVG paths with dark blue fills and gold interior borders. The visualization uses React to manage state and D3 v5’s `geoMercator` projection with `geoPath` and `fitExtent` to scale and center the map. County boundaries and interior borders are derived from a TopoJSON file using `topojson.feature` and `topojson.mesh`. The code includes a commented-out `geoEqualEarth` alternative and a video link, though the active map focuses solely on geographic outlines without additional data encoding.

AI-generated description

A world map showing cities with population greater than 50,000. City data from Simplemaps: World Cities Database.

Country boundaries from World Atlas TopoJSON, polished for visual style, including graticules.

MIT Licensed

Similar vizzes