Skip to main content
100%

Sweden Map

✓ Published1🌍 Public
VVineela Reddy
Last edited Apr 13, 2023
Created on Apr 13, 2023

This example presents a choropleth-style map of Sweden’s counties, rendered as SVG paths using the Mercator projection via `d3.geoMercator` and `d3.geoPath`. The map outlines each county with a red stroke and aqua fill, while internal borders are highlighted in teal. County geometries are loaded from a TopoJSON file, converted to GeoJSON using `topojson.feature` for areas and `topojson.mesh` for boundaries. The React component fetches and uses the data through `useData`, producing a static, interactive-free visualization.

AI-generated description
MIT Licensed

Similar vizzes