In D3 force-directed layout, the spring forces are defined using the gravity
method that defaults to 0.1
if not set.
Check out this fiddle of the same example you mentioned with gravity set to 0.9
.
The "weak geometric constraints" mentioned in the linkDistance
documentation are talked about further here.
"gravity is implemented as a weak geometric constraint similar to a virtual spring connecting each node to the center of the layout's size. "