Gregor Aisch @driven-by-data.net · Feb 27

For the German election we wanted to use a cartogram of German election districts but didn't find anything good, so we created our own. Here's a little nerd thread how the final algorithm worked 🤓 🧵 #gis #cartogram #election #datavis #cartography

558 likes 18 replies

?

Replies

Tim Manzella · Feb 28

📌

Sina Metz · Feb 27

Pretty cool to see the process by which such charts are made

Michal Škop · Feb 28

We have one. Maybe for the next elections? www.datajournalism.studio/a/2025-02-28...

Mamo · Feb 28

📌

Je96Kay · Feb 28

📌

Jonas Parnow · Feb 27

Fixing the outer districts is such a good idea! Thanks so much for sharing. Very clever approach.

t"omⒶs |eⒺs · Mar 3

📌

Tom Hart · Feb 28

This is great! Is there any reason you can't do this as well for the Zweitstimmen map as well (with the dots for for each district vote shares shaded in the same way as the geographical map)?

Katja Qattoon · Feb 28

📌

Gregor Aisch · Feb 27

As input for the cartogram we use a pre-projected TopoJSON basemap of election districts with baked-in centroids (inner points). We used Mapshaper to generate the file.

Christian · Feb 27

Toll, dass sich das weiterentwickelt mit der Diskussion um die letzten Wahlen! Auch nicht schlecht: die Realität ist diverser.

Cory Virok · Feb 28

Really interesting process. Thanks for sharing!

andabahn · Feb 28

📌

Jette · Feb 28

📌

Moritz Stefaner / Truth & Beauty · Feb 28

Lovely work!

Sebastian Stapelberg · Feb 28

Very nice work :). Thank you so much!

kafukyu · Feb 28

Cheers. To see this visualisation for the second party would also be of interest.

Sanduichi · Feb 28

As a layman in geovisualisation i was thinking about doing something similar as a hobby project, but projecting onto a rectangular grid. Instead of forces I'd try to do some combinatorial optimization with a "distance from geographical position" term, very similarly to this approach. Inspiration: