Skip to main content
Public

Share visualization

Loading preview…

Swedish map

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Swedish map

22
PPatric Tysk
Last edited Nov 27, 2021
Created on Nov 23, 2021

This example displays a choropleth map of Swedish counties, with each region filled in teal and interior boundaries highlighted in a contrasting color. It visualizes the geographic subdivisions of Sweden using geospatial data. The map is rendered as SVG with React, using the `geoMercator` projection and `geoPath` from D3 v5, and the TopoJSON data is converted to GeoJSON using the `feature` and `mesh` functions. The projection is fitted to the viewport via `fitExtent`. The data originates from a preprocessed TopoJSON file of simplified Swedish county boundaries.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed