Working d3.js example