Map 7 - dotmap
This interactive dot map visualizes normalized migration data from Swedish municipalities to the selected city (Stockholm, Göteborg, or Malmö), using red color intensity to represent the proportion of each municipality’s population that moved. A dropdown menu switches between target cities, and a search box highlights a chosen home municipality by moving it to the front with a styled stroke. Built with D3 v3 and TopoJSON, the map renders county boundaries from a U.S. Census-derived TopoJSON file adapted for Swedish regions, using a Mercator projection and SVG paths with circle overlays for emphasis.
AI-generated descriptionA 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>