Skip to main content
Public

Share visualization

Loading preview…

Swedish map - ICE 8

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 - ICE 8

2
Ssuchitra2602
Last edited Jul 9, 2022
Created on Jul 7, 2022

This example visualizes the counties of Sweden as a choropleth-style map, with each region filled in a muted red and interior boundaries highlighted in teal. Built with React and D3 v5, it loads TopoJSON data from a GitHub gist and converts it to GeoJSON using `feature` and `mesh` from the topojson library. The map is rendered as SVG using `geoMercator` projection and `geoPath`, with a `fitExtent` call to scale the map to fit the viewport.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed