Skip to main content
100%

Map 8 - map w. zoom

✓ Published0🌍 Public
PPatrick Wojda
Last edited Aug 30, 2016
Created on Aug 30, 2016

This interactive map visualizes the normalized share of each Swedish municipality’s population that has moved to a selected city (Stockholm, Göteborg, or Malmö). Only municipalities above a threshold are highlighted in red, with color intensity and circle size proportional to the migration share, while others appear gray. The map is rendered as SVG paths using d3.geoPath and a Mercator projection from the TopoJSON file, and users can click a municipality to zoom in and see its properties. The code uses d3.v3, topojson.v1, and d3.selection methods for interaction.

AI-generated description

A demo of TopoJSON on a U.S. counties shapefile from the U.S. census bureau. The same TopoJSON file can also be used to show states.

forked from <a href='http://bl.ocks.org/mbostock/'>mbostock</a>'s block: <a href='http://bl.ocks.org/mbostock/4122298'>U.S. Counties TopoJSON</a>

forked from <a href='http://bl.ocks.org/anonymous/'>anonymous</a>'s block: <a href='http://bl.ocks.org/anonymous/dae443994bdd438c5c45688aeb0a4f03'>U.S. Counties TopoJSON</a>

forked from <a href='http://bl.ocks.org/GitNoise/'>GitNoise</a>'s block: <a href='http://bl.ocks.org/GitNoise/78557cf1c00e63036fd92e84466aa60c'>Map 5 - lan, topojson</a>

forked from <a href='http://bl.ocks.org/GitNoise/'>GitNoise</a>'s block: <a href='http://bl.ocks.org/GitNoise/ab208b1f5c3b85e5f9eed706d569f245'>Map 6 - dotmap, kommun, stockholm</a>

forked from <a href='http://bl.ocks.org/GitNoise/'>GitNoise</a>'s block: <a href='http://bl.ocks.org/GitNoise/523ae2fb967ebe05c3bfea0598cdbdc4'>Map 7 - dotmap</a>

gpl-3.0 Licensed

Similar vizzes