Simple D3.js tutorial followed