d3 api exploration