Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Swedish map

Public visualization

Fork of Swedish map

0 stars1🌍 Public
NNikhilchiguru-8
Last edited Mar 29, 2023
Created on Mar 29, 2023
Forked from Swedish map

This visualization displays the counties of Sweden as a choropleth-style map, with each region filled in teal and boundaries highlighted in contrasting strokes. It uses a Mercator projection fitted to the geographic data, rendering the land areas and internal borders as SVG paths. The code employs React for component structure, with D3’s `geoMercator`, `geoPath`, and `fitExtent` for map projection and layout, and TopoJSON’s `feature` and `mesh` functions to parse the simplified Swedish county dataset.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed