externs for d3