Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Sweden Map

Public visualization

Viewing a saved revision (read-only)

d36e312b0f634028b9ff4d5cec03031b

Sweden Map

1 star1🌍 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