i don't think the type is stored in the underlying d3 scale is it?