Rotation of Squares
Pretty simple behavior. Click on a square. It rotates °180. Click it again; it rotates again. Click on all of them. So far, so good.
Rotation is a transformation in d3js. In further experiments I begin to have some issues when trying to coordinate the rotations of a grid of squares which I'm investigating.