Code developed while learning D3