Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Swedish map

Public visualization

Viewing a saved revision (read-only)

cf3ec89c6fee47b4986f365d2c3965c2

Fork of Fork of Swedish map

0 stars0🌍 Public
Bblikitha
Last edited Apr 4, 2022
Created on Apr 4, 2022

This visualization displays the counties of Sweden as black filled polygons with white interior boundaries, rendered on a Mercator projection fitted to the viewport. The map is generated from TopoJSON data using `d3.geoPath` and `d3.geoMercator`, with React managing the component state through `useData` and rendering SVG marks. The code also includes a commented-out alternative using `geoEqualEarth`, and mixes styling through CSS classes that define the monochrome color scheme.

AI-generated description