An experiment with D3.js, creating a simple interactive graph