add source type to d3 script