Code developed while learning D3.js