Skip to content

Instantly share code, notes, and snippets.

View polochau's full-sized avatar

Duen Horng Chau polochau

View GitHub Profile
@polochau
polochau / README.md
Last active June 7, 2021 11:44
Collision-free Scatter Plot

Collision-free Scatter Plot

Using D3 v5's force simulation, points repel each other with animation so they do not overlap.

Simulation may be turned on or off. When off, points return back to their original overlapping locations.