diagram examples using d3.js