Skip to main content
100%

Sweden

✓ Published0🌍 Public
HHaris Vidimlic
Last edited Feb 16, 2022
Created on Feb 15, 2022

This example displays a choropleth of Sweden’s counties, rendered as a static SVG map without interactivity. Using React and D3 v5, it loads TopoJSON county boundaries via `d3.json` and converts them with `topojson.feature`. A Mercator projection (`d3.geoMercator`) and `d3.geoPath` draw the filled paths, with a fixed zoom scale and map dimensions. The code’s styling applies a teal fill and transparent stroke to each county.

AI-generated description
MIT Licensed

Similar vizzes