Analog Clock

Built with ♥ using D3

First we started with a circle. The dial is composed of a bigger circle and a smaller one - a center point.

With the dial is in place, next step is to add arms of the clock. The end result should have 3 arms - depicting hours, minutes and seconds. To have quicker feedback we started with seconds arm.

Drawing the radius solves the initial position of seconds arm. However, to have the arm goes around the clock, we need to calculate (x,y) coordinates.