Map 6 - dotmap, kommun, city
This map shows Swedish municipalities as a dot map, highlighting areas with high proportions of residents connected to Stockholm, Gothenburg, or Malmö. Red circles sized by a square-root scale mark municipalities above a 5% threshold, with faint lines connecting them to the selected city. It uses D3 v3 with TopoJSON to load county boundaries and `d3.geo.mercator` with `d3.geo.path` for projection, while `d3.geo.centroid` positions each circle. Data comes from a local TopoJSON file (`alla_lan(1).json`).
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>