Add the missing D3 extern