Hexmap of Norwegian Municipalities

In this notebook the goal is to create a hexmap of Norway representing 357 municipalities, while maintaining a shape similar to Norway, and still keep each hexagon located relatively near the original position of the municipality.

I’ve used the hungarian algorithm, often referred to as «Munkres», to optimize the hexagon marker placement. I guess the notebook can easily be reused to create hexagon maps for other countries.

The code should be fairly easy to reuse for creating hex maps for other countries and use cases, og it can be used for various data visualizations in Norway.

https://observablehq.com/@andreassolberg/norwegian-municipalities-hexmap

1 Like