try the d3 snippet