isn't this explicit return 0 unnecessary? since that is the behavior in the underlying d3 api we should be able to just pipe through regardless.