Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Swedish Country Map ICE-8

Public visualization

Viewing a saved revision (read-only)

04484e6f37f14c0187f400dffce1376d

Swedish Country Map ICE-8

0 stars0🌍 Public
Aarcothanmukha
Last edited Apr 5, 2022
Created on Apr 5, 2022
Forked from Swedish map

This example displays a choropleth map of Swedish counties using the Mercator projection, with each county filled in blue and interior boundaries outlined in gray. The map renders as SVG through React, with geographic features generated from TopoJSON data using `d3.geoPath` and `d3.geoMercator`. The code applies `projection.fitExtent` to scale the map to fit the viewport, and county boundaries are extracted via `topojson.feature` and `topojson.mesh`. The visualization uses the d3 v5 library alongside React 16.9.

AI-generated description