D3.js - Simple Path Animation

written 09/08/13 by Tommy Krüger

This is a basic example on how to move an element along a path. Imagine you want to animate a ship along a sea line or a plane along a route.

Start Animation

Source Code