Integrating D·.js to do graphs