first iteration using D3.js