upgrade D3 to v4
This is done in theory, but needs a thorough review by @fkosmale before it is merged.
The following things are most likely to break:
- LTS display in general
- special interactions with LTS like sticky node, switching between minimized and normal…
- LTS in special contexts, e.g. exercises
- the activity indicator (running dots)