Trying to work my head around how I can rotate this rectangle from the dead centre only using D3.js and Javascript.