d3.js test code added