Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork ICE-8 of Swedish map

Public visualization

Viewing a saved revision (read-only)

e1ee671785ff4583aa2e72ce6c48c555

Fork ICE-8 of Swedish map

0 stars0🌍 Public
Mmanvithareddykarra
Last edited Apr 3, 2022
Created on Apr 3, 2022
Forked from Swedish map

This visualization shows the counties (län) of Sweden as filled red polygons with teal borders between neighboring regions, rendered as an SVG map. The map uses a Mercator projection fitted to the geographic data. The code loads TopoJSON data from a gist, converts it to GeoJSON using `topojson.feature` and `topojson.mesh`, and draws paths with `d3.geoPath`. The visualization is built with React, using the `useData` hook to fetch and transform the data, and styles the map with classes defined in CSS.

AI-generated description