Graph rendering using D3.js