All examples By author By category About

VisDockHub

Moving Circles

This Moving Circles example shows a thousand black circles moving in random direction at a constant speed. Even though the SVG circle elements are not stationary, VisDock selection tools allow users to query them and observe the motion of the queried circles in a flight of time. The mechanism is simple: once VisDock creates a layer for a selected circle, the layer stays on top of the circle by implement a few more lines of code. The original example was built with D3.js (found here) by M. Bostock. For more information about VisDock, please cick on the link.