try out the useful parts of the d3 api