using d3 to draw annotations