Click and drag to move states around.
This is an adapted version of the impressive example of Force-Directed States of America presented by Mike Bostock!
This example shows, how to make the same cool stuff with german state polygons.
I simply changed:
-
data input - de.json
-
projection - d3.geo.mercator()
- scale: 2000
- translate: [width / 2, height / 2]
- center: [10.5, 51.35]
-
'linkDistance' - multiply with 1.1
-
display link above the polygons